skip dpow check on everything but ProcessNewBlock.

This commit is contained in:
blackjok3r
2019-04-12 13:55:06 +08:00
parent 12a7bf62cf
commit 76e3a7f283
4 changed files with 10 additions and 10 deletions

View File

@@ -1886,7 +1886,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
uiInterface.InitMessage(_("Activating best chain..."));
// scan for better chains in the block chain database, that are not yet connected in the active best chain
CValidationState state;
if ( !ActivateBestChain(state))
if ( !ActivateBestChain(true,state))
strErrors << "Failed to connect best block";
}
std::vector<boost::filesystem::path> vImportFiles;