Unset fImporting for loading mempool

This commit is contained in:
Alex Morcos committed 2016-11-11 09:33:16 -05:00
1 parent e0477f6d20
commit 79f755db41
1 file changed
+3 -1
+3 -1
View File
@@ -601,6 +601,8 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles)
{
const CChainParams& chainparams = Params();
RenameThread("bitcoin-loadblk");
{
CImportingNow imp;
// -reindex
@@ -660,7 +662,7 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles)
LogPrintf("Stopping after block import\n");
StartShutdown();
}
} // End scope of CImportingNow
LoadMempool();
}