diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-06-25 10:01:21 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-06-25 10:26:01 +0200 |
| commit | d609fd85ca41c003233d74fbd6c680970ad4a48b (patch) | |
| tree | 3aabeb5fbf86f88a3f13f0230e8840357fe6b93f /src/validation.cpp | |
| parent | Merge #10412: Improve wallet rescan API (diff) | |
| parent | Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts() (diff) | |
| download | discoin-d609fd85ca41c003233d74fbd6c680970ad4a48b.tar.xz discoin-d609fd85ca41c003233d74fbd6c680970ad4a48b.zip | |
Merge #9176: Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts()
b324b28 Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts() (Jorge Timón)
Tree-SHA512: 9ef561a026960dc69df52603f4d60246c913bdd127465e8238f0954c6bbbc6b8b3b039bab70df38be1cbf5d06788fb631a2236b49c0167633d54366103c7c055
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 59542e8f9..f09fff8ee 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -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(); |