From a2b071f9920c2f4893afcc43a152f593c03966bf Mon Sep 17 00:00:00 2001 From: furszy Date: Sun, 16 Jul 2023 13:41:07 -0300 Subject: [PATCH] wallet: ZapSelectTx, remove db rewrite code The function does not return DBErrors::NEED_REWRITE. --- src/wallet/wallet.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index c34bf96b5e..032b1fed20 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2324,16 +2324,6 @@ DBErrors CWallet::ZapSelectTx(std::vector& vHashIn, std::vectorRewriteDB(); - } - } - } - if (nZapSelectTxRet != DBErrors::LOAD_OK) return nZapSelectTxRet;