Change eras activation code. Fix reindex with ac_notarypay!

This commit is contained in:
blackjok3r
2019-02-11 17:25:51 +08:00
parent 8d7234bf22
commit d69be73aec
2 changed files with 18 additions and 56 deletions

View File

@@ -1554,6 +1554,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
if (fReindex) {
boost::filesystem::remove(GetDataDir() / "komodostate");
boost::filesystem::remove(GetDataDir() / "signedmasks");
pblocktree->WriteReindexing(true);
//If we're reindexing in prune mode, wipe away unusable block files and all undo data files
if (fPruneMode)