Merge #9133: Unset fImporting for loading mempool
79f755d Unset fImporting for loading mempool (Alex Morcos)
This commit is contained in:
parent
0932079ea6
commit
9b9d3d1da8
@ -702,6 +702,8 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles)
|
|||||||
{
|
{
|
||||||
const CChainParams& chainparams = Params();
|
const CChainParams& chainparams = Params();
|
||||||
RenameThread("dash-loadblk");
|
RenameThread("dash-loadblk");
|
||||||
|
|
||||||
|
{
|
||||||
CImportingNow imp;
|
CImportingNow imp;
|
||||||
|
|
||||||
// -reindex
|
// -reindex
|
||||||
@ -761,7 +763,7 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles)
|
|||||||
LogPrintf("Stopping after block import\n");
|
LogPrintf("Stopping after block import\n");
|
||||||
StartShutdown();
|
StartShutdown();
|
||||||
}
|
}
|
||||||
|
} // End scope of CImportingNow
|
||||||
LoadMempool();
|
LoadMempool();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user