scripted-diff: rename DBErrors::RESCAN_REQUIRED to NEED_RESCAN

-BEGIN VERIFY SCRIPT-
git grep -l 'RESCAN_REQUIRED' src | xargs sed -i 's/RESCAN_REQUIRED/NEED_RESCAN/g'
-END VERIFY SCRIPT-
This commit is contained in:
Samuel Dobson
2021-10-01 10:31:06 +13:00
parent 571bb94dfb
commit 8615507a4e
4 changed files with 4 additions and 4 deletions

View File

@@ -861,7 +861,7 @@ DBErrors WalletBatch::LoadWallet(CWallet* pwallet)
}
if (rescan_required && result == DBErrors::LOAD_OK) {
result = DBErrors::RESCAN_REQUIRED;
result = DBErrors::NEED_RESCAN;
} else if (fNoncriticalErrors && result == DBErrors::LOAD_OK) {
result = DBErrors::NONCRITICAL_ERROR;
}