diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-02 21:09:24 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-02 21:09:27 +0100 |
commit | c05db8348838422ec6bbfeef30faee36562af13d (patch) | |
tree | fc6898fa79622feb759c78209ea9f591f7244ae3 /src/init.cpp | |
parent | bc785d71855fbc8bfeb74189a049a7bb29127bb3 (diff) | |
parent | d0b01f3a859eacc51a28fc18d2ed7e361ec90833 (diff) |
Merge #9013: Trivial: Explicitly pass const CChainParams& to LoadBlockIndexDB()
d0b01f3 Explicitly pass const CChainParams& to LoadBlockIndexDB() (Geoffrey Tsui)
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index efaf821f4f..29a242a790 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1323,7 +1323,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) CleanupBlockRevFiles(); } - if (!LoadBlockIndex()) { + if (!LoadBlockIndex(chainparams)) { strLoadError = _("Error loading block database"); break; } |