diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp index 98b6da83c..57c879447 100644 --- a/src/wallet/feebumper.cpp +++ b/src/wallet/feebumper.cpp @@ -236,6 +236,7 @@ bool CFeeBumper::commit(CWallet *pWallet) if (txid.IsNull() || !pWallet->mapWallet.count(txid)) { vErrors.push_back("Invalid or non-wallet transaction id"); currentResult = BumpFeeResult::MISC_ERROR; + return false; } CWalletTx& oldWtx = pWallet->mapWallet[txid];