mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
Improve CFeeBumper interface, add comments, make use of std::move
This commit is contained in:
@@ -2895,7 +2895,7 @@ UniValue bumpfee(const JSONRPCRequest& request)
|
||||
}
|
||||
|
||||
// sign bumped transaction
|
||||
if (!pwallet->SignTransaction(*feeBump.getBumpedTxRef())) {
|
||||
if (!feeBump.signTransaction(pwallet)) {
|
||||
throw JSONRPCError(RPC_WALLET_ERROR, "Can't sign transaction.");
|
||||
}
|
||||
// commit the bumped transaction
|
||||
|
||||
Reference in New Issue
Block a user