Skip to content

Commit 434e683

Browse files
committed
Merge #9133: Unset fImporting for loading mempool
79f755d Unset fImporting for loading mempool (Alex Morcos)
2 parents 62af164 + 79f755d commit 434e683

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/init.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,8 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles)
601601
{
602602
const CChainParams& chainparams = Params();
603603
RenameThread("bitcoin-loadblk");
604+
605+
{
604606
CImportingNow imp;
605607

606608
// -reindex
@@ -660,7 +662,7 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles)
660662
LogPrintf("Stopping after block import\n");
661663
StartShutdown();
662664
}
663-
665+
} // End scope of CImportingNow
664666
LoadMempool();
665667
}
666668

0 commit comments

Comments
 (0)