aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpc
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2024-02-09 11:45:05 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2024-02-09 14:54:50 -0300
commit9a3c5c8697659e34d0476103af942a4615818f4e (patch)
treeaae7681f684f6fe9dde8865532673320825bb2de /src/wallet/rpc
parent83b762845f5804f23b63526d403b2f327fe99632 (diff)
downloadbitcoin-9a3c5c8697659e34d0476103af942a4615818f4e.tar.xz
scripted-diff: rename ZapSelectTx to RemoveTxs
-BEGIN VERIFY SCRIPT- sed -i 's/ZapSelectTx/RemoveTxs/g' $(git grep -l 'ZapSelectTx' ./src/wallet) -END VERIFY SCRIPT-
Diffstat (limited to 'src/wallet/rpc')
-rw-r--r--src/wallet/rpc/backup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpc/backup.cpp b/src/wallet/rpc/backup.cpp
index 401c0b2d23..c5340b1206 100644
--- a/src/wallet/rpc/backup.cpp
+++ b/src/wallet/rpc/backup.cpp
@@ -394,7 +394,7 @@ RPCHelpMan removeprunedfunds()
uint256 hash(ParseHashV(request.params[0], "txid"));
std::vector<uint256> vHash;
vHash.push_back(hash);
- if (auto res = pwallet->ZapSelectTx(vHash); !res) {
+ if (auto res = pwallet->RemoveTxs(vHash); !res) {
throw JSONRPCError(RPC_WALLET_ERROR, util::ErrorString(res).original);
}