Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/impl/bch/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,9 @@ class NodeImpl : public pool::BaseNode<bch::Config, bch::ShareChain, bch::Peer>
chain.get_share(share_hash).invoke([&](auto* s) {
using ST = std::remove_pointer_t<decltype(s)>;
constexpr int64_t ver = ST::version;
const bool v36 = core::version_gate::is_v36_active(ver);
const bool v36_active = core::version_gate::is_v36_active(ver);
const uint256 gentx_hash =
generate_share_transaction(*s, m_tracker, false, v36, &gentx_bytes);
generate_share_transaction(*s, m_tracker, false, v36_active, &gentx_bytes);
const uint256 merkle_root =
check_merkle_link(gentx_hash, s->m_merkle_link);
uint32_t hdr_version = static_cast<uint32_t>(s->m_min_header.m_version);
Expand Down
Loading