aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-05-22 09:30:26 +0200
committerJon Atack <jon@atack.com>2021-05-22 09:30:26 +0200
commit4f504f826bcbb1a4aa4701e87cb68da4ca05b857 (patch)
tree5b2f4ce772c3d31bad9f40fc9be606848de27bf5
parent5cb7ac23fb97a0cbc75b7eef0951da0e0bc5292b (diff)
downloadbitcoin-4f504f826bcbb1a4aa4701e87cb68da4ca05b857.tar.xz
rpc: fix code comment for bumpfee/psbtbumpfee output
-rw-r--r--src/wallet/rpcwallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index 8aac9f8f25..a2124cc05e 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -3526,8 +3526,8 @@ static RPCHelpMan bumpfee_helper(std::string method_name)
UniValue result(UniValue::VOBJ);
- // If wallet private keys are enabled, return the new transaction id,
- // otherwise return the base64-encoded unsigned PSBT of the new transaction.
+ // For bumpfee, return the new transaction id.
+ // For psbtbumpfee, return the base64-encoded unsigned PSBT of the new transaction.
if (!want_psbt) {
if (!feebumper::SignTransaction(*pwallet, mtx)) {
throw JSONRPCError(RPC_WALLET_ERROR, "Can't sign transaction.");