mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-11 14:32:58 +02:00
Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts()
This commit is contained in:
@@ -3246,7 +3246,7 @@ CBlockIndex * InsertBlockIndex(uint256 hash)
|
||||
|
||||
bool static LoadBlockIndexDB(const CChainParams& chainparams)
|
||||
{
|
||||
if (!pblocktree->LoadBlockIndexGuts(InsertBlockIndex))
|
||||
if (!pblocktree->LoadBlockIndexGuts(chainparams.GetConsensus(), InsertBlockIndex))
|
||||
return false;
|
||||
|
||||
boost::this_thread::interruption_point();
|
||||
|
||||
Reference in New Issue
Block a user