Merge 5057adf22f into merged_master (Bitcoin PR bitcoin/bitcoin#25349)

This commit is contained in:
Byron Hambly 2024-10-18 14:18:20 +02:00
commit e33f17092c
5 changed files with 14 additions and 23 deletions

View file

@ -2494,7 +2494,6 @@ bool CChainState::ConnectBlock(const CBlock& block, BlockValidationState& state,
m_blockman.m_dirty_blockindex.insert(pindex);
}
assert(pindex->phashBlock);
// add this block to the view's block chain
view.SetBestBlock(pindex->GetBlockHash());