mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
rpc: fix code comment for bumpfee/psbtbumpfee output
This commit is contained in:
parent
5cb7ac23fb
commit
4f504f826b
1 changed files with 2 additions and 2 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Reference in a new issue