Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts()
This commit is contained in:
+1
-1
@@ -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