mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts()
This commit is contained in:
parent
ea6fde3f1d
commit
b324b28209
3 changed files with 6 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue