diff options
author | Alex Morcos <morcos@chaincode.com> | 2016-11-04 14:34:36 -0400 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2016-11-11 09:33:16 -0500 |
commit | 79f755db4114ad25c6f856c9a07e7101f2044af3 (patch) | |
tree | b60306c176cf1cffeb5aa76c7d19619ee62c8410 /src | |
parent | e0477f6d20726d958685e44ea33f448a0c3ae15c (diff) | |
download | bitcoin-79f755db4114ad25c6f856c9a07e7101f2044af3.tar.xz |
Unset fImporting for loading mempool
Diffstat (limited to 'src')
-rw-r--r-- | src/init.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 31e3efb459..b5606069e1 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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(); } |