|
|
@ -3526,8 +3526,8 @@ static RPCHelpMan bumpfee_helper(std::string method_name)
|
|
|
|
|
|
|
|
|
|
|
|
UniValue result(UniValue::VOBJ);
|
|
|
|
UniValue result(UniValue::VOBJ);
|
|
|
|
|
|
|
|
|
|
|
|
// If wallet private keys are enabled, return the new transaction id,
|
|
|
|
// For bumpfee, return the new transaction id.
|
|
|
|
// otherwise return the base64-encoded unsigned PSBT of the new transaction.
|
|
|
|
// For psbtbumpfee, return the base64-encoded unsigned PSBT of the new transaction.
|
|
|
|
if (!want_psbt) {
|
|
|
|
if (!want_psbt) {
|
|
|
|
if (!feebumper::SignTransaction(*pwallet, mtx)) {
|
|
|
|
if (!feebumper::SignTransaction(*pwallet, mtx)) {
|
|
|
|
throw JSONRPCError(RPC_WALLET_ERROR, "Can't sign transaction.");
|
|
|
|
throw JSONRPCError(RPC_WALLET_ERROR, "Can't sign transaction.");
|
|
|
|