diff options
author | Geoffrey Tsui <tsui.geoffrey@gmail.com> | 2016-10-25 22:35:26 +0800 |
---|---|---|
committer | Geoffrey Tsui <tsui.geoffrey@gmail.com> | 2016-10-25 22:35:26 +0800 |
commit | d0b01f3a859eacc51a28fc18d2ed7e361ec90833 (patch) | |
tree | 52f988b2d7f53d2624a40ba76839bfe031635908 /src/init.cpp | |
parent | 9bdf5269f8860b41455df1c6d82dac0d9c858e8f (diff) |
Explicitly pass const CChainParams& to LoadBlockIndexDB()
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 84b0108ea8..b03b509634 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; } |