Explicitly pass const CChainParams& to LoadBlockIndexDB()

This commit is contained in:
Geoffrey Tsui
2016-10-25 22:35:26 +08:00
parent 9bdf5269f8
commit d0b01f3a85
3 changed files with 5 additions and 6 deletions

View File

@@ -1320,7 +1320,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
CleanupBlockRevFiles();
}
if (!LoadBlockIndex()) {
if (!LoadBlockIndex(chainparams)) {
strLoadError = _("Error loading block database");
break;
}