Skip to content

Commit 5b8be51

Browse files
authored
bch(node): align local predicate name v36 -> v36_active for version-gate consistency (no-op, cosmetic) (#301)
Co-authored-by: frstrtr <frstrtr@users.noreply.github.com>
1 parent e2a563c commit 5b8be51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/impl/bch/node.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ class NodeImpl : public pool::BaseNode<bch::Config, bch::ShareChain, bch::Peer>
291291
chain.get_share(share_hash).invoke([&](auto* s) {
292292
using ST = std::remove_pointer_t<decltype(s)>;
293293
constexpr int64_t ver = ST::version;
294-
const bool v36 = core::version_gate::is_v36_active(ver);
294+
const bool v36_active = core::version_gate::is_v36_active(ver);
295295
const uint256 gentx_hash =
296-
generate_share_transaction(*s, m_tracker, false, v36, &gentx_bytes);
296+
generate_share_transaction(*s, m_tracker, false, v36_active, &gentx_bytes);
297297
const uint256 merkle_root =
298298
check_merkle_link(gentx_hash, s->m_merkle_link);
299299
uint32_t hdr_version = static_cast<uint32_t>(s->m_min_header.m_version);

0 commit comments

Comments
 (0)