From d0b01f3a859eacc51a28fc18d2ed7e361ec90833 Mon Sep 17 00:00:00 2001 From: Geoffrey Tsui Date: Tue, 25 Oct 2016 22:35:26 +0800 Subject: Explicitly pass const CChainParams& to LoadBlockIndexDB() --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/init.cpp') 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; } -- cgit v1.2.3