mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
refactoring: remove mapBlockIndex global
in lieu of ::BlockIndex().
This commit is contained in:
parent
55d525ab90
commit
682a1d0f20
6 changed files with 48 additions and 39 deletions
|
|
@ -250,7 +250,7 @@ bool CBlockTreeDB::LoadBlockIndexGuts(const Consensus::Params& consensusParams,
|
|||
|
||||
pcursor->Seek(std::make_pair(DB_BLOCK_INDEX, uint256()));
|
||||
|
||||
// Load mapBlockIndex
|
||||
// Load m_block_index
|
||||
while (pcursor->Valid()) {
|
||||
boost::this_thread::interruption_point();
|
||||
if (ShutdownRequested()) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue