Skip to content

Commit

Permalink
fixed! needed to use m_start_height instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
josibake committed Jan 27, 2024
1 parent a8d6fb0 commit c12f903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index/blockfilterindex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ bool BlockFilterIndex::CustomAppend(const interfaces::BlockInfo& block)
CBlockUndo block_undo;
uint256 prev_header;

if (block.height > 0) {
if (block.height > m_start_height) {
// pindex variable gives indexing code access to node internals. It
// will be removed in upcoming commit
const CBlockIndex* pindex = WITH_LOCK(cs_main, return m_chainstate->m_blockman.LookupBlockIndex(block.hash));
Expand Down

0 comments on commit c12f903

Please sign in to comment.