We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 770bfe3 commit 5ff7de0Copy full SHA for 5ff7de0
src/test/headers_sync_chainwork_tests.cpp
@@ -52,7 +52,7 @@ constexpr size_t COMMITMENT_PERIOD{600}; // Somewhat close to mainnet.
52
53
struct HeadersGeneratorSetup : public RegTestingSetup {
54
const CBlock& genesis{Params().GenesisBlock()};
55
- const CBlockIndex& chain_start{WITH_LOCK(::cs_main, return *Assert(m_node.chainman->m_blockman.LookupBlockIndex(genesis.GetHash())))};
+ CBlockIndex& chain_start{WITH_LOCK(::cs_main, return *Assert(m_node.chainman->m_blockman.LookupBlockIndex(genesis.GetHash())))};
56
57
// Generate headers for two different chains (using differing merkle roots
58
// to ensure the headers are different).
0 commit comments