diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-03-30 09:26:21 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-04-02 10:12:43 +0200 |
commit | 5f59d3ecb7f1b63579e7f07fc520459cdf119c81 (patch) | |
tree | 2676a11700b27907a255ee47199cbfbb1926e73d /src/wallet/rpcwallet.cpp | |
parent | 0df22ed6fd0b83d181dc8ce3786a47da0f1d58ae (diff) | |
download | bitcoin-5f59d3ecb7f1b63579e7f07fc520459cdf119c81.tar.xz |
Improve CFeeBumper interface, add comments, make use of std::move
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index f746c54f24..2cc3072c16 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -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 |