aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGeoffrey Tsui <[email protected]>2016-10-25 22:35:26 +0800
committerGeoffrey Tsui <[email protected]>2016-10-25 22:35:26 +0800
commitd0b01f3a859eacc51a28fc18d2ed7e361ec90833 (patch)
tree52f988b2d7f53d2624a40ba76839bfe031635908 /src/init.cpp
parentMerge #8515: A few mempool removal optimizations (diff)
downloaddiscoin-d0b01f3a859eacc51a28fc18d2ed7e361ec90833.tar.xz
discoin-d0b01f3a859eacc51a28fc18d2ed7e361ec90833.zip
Explicitly pass const CChainParams& to LoadBlockIndexDB()
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 84b0108ea..b03b50963 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1320,7 +1320,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
CleanupBlockRevFiles();
}
- if (!LoadBlockIndex()) {
+ if (!LoadBlockIndex(chainparams)) {
strLoadError = _("Error loading block database");
break;
}