diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2016-11-07 23:31:55 +0100 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2017-05-18 22:23:10 +0200 |
commit | b324b2820903e777f3bbf5bf96686bbe723d8df7 (patch) | |
tree | 1bcdd78a47c367edd3262093e0cf0b3700f912ae /src/validation.cpp | |
parent | ea6fde3f1d2694176a657b69fb0eeb5426e6f309 (diff) | |
download | bitcoin-b324b2820903e777f3bbf5bf96686bbe723d8df7.tar.xz |
Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts()
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 73466b9df7..658a04ed8d 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -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(); |