Adjust rewind logic to use the network upgrade mechanism

This commit is contained in:
Jack Grigg
2018-01-27 23:37:43 +00:00
parent 89f20450c2
commit 9e851450ab
5 changed files with 70 additions and 14 deletions

View File

@@ -1425,7 +1425,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
if (!fReindex) {
uiInterface.InitMessage(_("Rewinding blocks..."));
if (!RewindBlockIndex(chainparams)) {
strLoadError = _("Unable to rewind the database to a pre-fork state. You will need to redownload the blockchain");
strLoadError = _("Unable to rewind the database to a pre-upgrade state. You will need to redownload the blockchain");
break;
}
}