Merge #9013: Trivial: Explicitly pass const CChainParams& to LoadBlockIndexDB()

d0b01f3 Explicitly pass const CChainParams& to LoadBlockIndexDB() (Geoffrey Tsui)
This commit is contained in:
Wladimir J. van der Laan
2016-11-02 21:09:24 +01:00
3 changed files with 5 additions and 6 deletions

View File

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