diff options
author | Samuel Dobson <dobsonsa68@gmail.com> | 2021-10-01 10:31:06 +1300 |
---|---|---|
committer | Samuel Dobson <dobsonsa68@gmail.com> | 2021-10-01 11:02:32 +1300 |
commit | 8615507a4e510bc797b01c4bbe45dc1f91e0bfa0 (patch) | |
tree | f8b3a3b0affa754cf75a0b0e0b270e0eba8f6009 /src/wallet/walletdb.cpp | |
parent | 571bb94dfb5047c9be8fcbae5dae71de7256b86c (diff) |
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-
Diffstat (limited to 'src/wallet/walletdb.cpp')
-rw-r--r-- | src/wallet/walletdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index 11c35e70e9..528f77b14c 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -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; } |