Skip to content

Commit

Permalink
Merge pull request KomodoPlatform#441 from VerusCoin/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Asherda authored Aug 25, 2022
2 parents 1559ac4 + 930392f commit e41a6fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1787,6 +1787,12 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
break;
}

pblocktree->ReadFlag("idindex", fIdIndex);
if (!fReindex && fIdIndex != GetBoolArg("-idindex", fIdIndex) ) {
strLoadError = _("You need to rebuild the database using -reindex to change -idindex");
break;
}

// Check for changed -insightexplorer state
pblocktree->ReadFlag("insightexplorer", fInsightExplorer);
if (!fReindex && fInsightExplorer != GetBoolArg("-insightexplorer", fInsightExplorer) ) {
Expand Down

0 comments on commit e41a6fe

Please sign in to comment.