scripted-diff: rename ZapSelectTx to RemoveTxs

-BEGIN VERIFY SCRIPT-
sed -i 's/ZapSelectTx/RemoveTxs/g' $(git grep -l 'ZapSelectTx' ./src/wallet)
-END VERIFY SCRIPT-
This commit is contained in:
furszy
2024-02-09 11:45:05 -03:00
parent 83b762845f
commit 9a3c5c8697
4 changed files with 6 additions and 6 deletions

View File

@@ -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);
}