Changing -txindex requires -reindex, not -reindex-chainstate

Github-Pull: #11108
Rebased-From: cd0ea487422028bec1f5df62ab4c57909c2bcc90
Tree-SHA512: 0fbd50b1343eec14301ee9c2fc76e48dcb1610ce1ddbf3cccbd937e2c0d1bbdfc4920fbc05e7e560c424e0ed7367d6ad3595a1bd38dea669bcbd1c838f522d8e
This commit is contained in:
Matt Corallo 2017-08-22 13:32:17 -04:00 committed by Wladimir J. van der Laan
parent 5b059a833e
commit e8ad101e5b
No known key found for this signature in database
GPG Key ID: 1E4AED62986CD25D

View File

@ -1428,7 +1428,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
// Check for changed -txindex state
if (fTxIndex != gArgs.GetBoolArg("-txindex", DEFAULT_TXINDEX)) {
strLoadError = _("You need to rebuild the database using -reindex-chainstate to change -txindex");
strLoadError = _("You need to rebuild the database using -reindex to change -txindex");
break;
}