Skip to content

Commit

Permalink
test: Add missing argument in ProcessNewBlockHeaders() call
Browse files Browse the repository at this point in the history
  • Loading branch information
lateminer committed Jan 7, 2024
1 parent e7112d7 commit 6db0e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/blockfilter_index_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ bool BuildChainTestingSetup::BuildChain(const CBlockIndex* pindex,
CBlockHeader header = block->GetBlockHeader();

BlockValidationState state;
if (!Assert(m_node.chainman)->ProcessNewBlockHeaders({header}, true, state, &pindex)) {
if (!Assert(m_node.chainman)->ProcessNewBlockHeaders({header}, true, state, false, &pindex)) {
return false;
}
}
Expand Down

0 comments on commit 6db0e59

Please sign in to comment.