Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts()

This commit is contained in:
Jorge Timón
2016-11-07 23:31:55 +01:00
parent ea6fde3f1d
commit b324b28209
3 changed files with 6 additions and 6 deletions

View File

@@ -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();