mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge #9176: Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts()
b324b28 Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts() (Jorge Timón)
Tree-SHA512: 9ef561a026960dc69df52603f4d60246c913bdd127465e8238f0954c6bbbc6b8b3b039bab70df38be1cbf5d06788fb631a2236b49c0167633d54366103c7c055
This commit is contained in:
commit
d609fd85ca
3 changed files with 6 additions and 6 deletions
|
|
@ -3325,7 +3325,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