Fix outdated comments referring to ::ChainActive()

This commit is contained in:
Samuel Dobson
2021-10-12 14:36:51 +13:00
parent e418a8e675
commit a0efe529e4
6 changed files with 6 additions and 6 deletions

View File

@@ -321,7 +321,7 @@ bool BaseIndex::BlockUntilSyncedToCurrentChain() const
{
// Skip the queue-draining stuff if we know we're caught up with
// ::ChainActive().Tip().
// m_chain.Tip().
LOCK(cs_main);
const CBlockIndex* chain_tip = m_chainstate->m_chain.Tip();
const CBlockIndex* best_block_index = m_best_block_index.load();