From 79f755db4114ad25c6f856c9a07e7101f2044af3 Mon Sep 17 00:00:00 2001 From: Alex Morcos Date: Fri, 4 Nov 2016 14:34:36 -0400 Subject: [PATCH] Unset fImporting for loading mempool --- src/init.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index 31e3efb45..b5606069e 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -601,6 +601,8 @@ void ThreadImport(std::vector vImportFiles) { const CChainParams& chainparams = Params(); RenameThread("bitcoin-loadblk"); + + { CImportingNow imp; // -reindex @@ -660,7 +662,7 @@ void ThreadImport(std::vector vImportFiles) LogPrintf("Stopping after block import\n"); StartShutdown(); } - + } // End scope of CImportingNow LoadMempool(); } -- 2.11.4.GIT