Skip to content

Commit 4f504f8

Browse files
committed
rpc: fix code comment for bumpfee/psbtbumpfee output
1 parent 5cb7ac2 commit 4f504f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3526,8 +3526,8 @@ static RPCHelpMan bumpfee_helper(std::string method_name)
35263526

35273527
UniValue result(UniValue::VOBJ);
35283528

3529-
// If wallet private keys are enabled, return the new transaction id,
3530-
// otherwise return the base64-encoded unsigned PSBT of the new transaction.
3529+
// For bumpfee, return the new transaction id.
3530+
// For psbtbumpfee, return the base64-encoded unsigned PSBT of the new transaction.
35313531
if (!want_psbt) {
35323532
if (!feebumper::SignTransaction(*pwallet, mtx)) {
35333533
throw JSONRPCError(RPC_WALLET_ERROR, "Can't sign transaction.");

0 commit comments

Comments
 (0)