Skip to content

Commit 5ff7de0

Browse files
fix
1 parent 770bfe3 commit 5ff7de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/headers_sync_chainwork_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ constexpr size_t COMMITMENT_PERIOD{600}; // Somewhat close to mainnet.
5252

5353
struct HeadersGeneratorSetup : public RegTestingSetup {
5454
const CBlock& genesis{Params().GenesisBlock()};
55-
const CBlockIndex& chain_start{WITH_LOCK(::cs_main, return *Assert(m_node.chainman->m_blockman.LookupBlockIndex(genesis.GetHash())))};
55+
CBlockIndex& chain_start{WITH_LOCK(::cs_main, return *Assert(m_node.chainman->m_blockman.LookupBlockIndex(genesis.GetHash())))};
5656

5757
// Generate headers for two different chains (using differing merkle roots
5858
// to ensure the headers are different).

0 commit comments

Comments
 (0)