aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2016-11-07 23:31:55 +0100
committerJorge Timón <jtimon@jtimon.cc>2017-05-18 22:23:10 +0200
commitb324b2820903e777f3bbf5bf96686bbe723d8df7 (patch)
tree1bcdd78a47c367edd3262093e0cf0b3700f912ae /src/validation.cpp
parentea6fde3f1d2694176a657b69fb0eeb5426e6f309 (diff)
downloadbitcoin-b324b2820903e777f3bbf5bf96686bbe723d8df7.tar.xz
Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts()
Diffstat (limited to 'src/validation.cpp')
-rw-r--r--src/validation.cpp2
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();