diff options
| author | Jon Atack <[email protected]> | 2020-10-22 15:50:03 +0200 |
|---|---|---|
| committer | Jon Atack <[email protected]> | 2020-10-24 22:03:11 +0200 |
| commit | 052427eef1c9da84c474c5161b1910d3328ef0da (patch) | |
| tree | 05f34b3457d46971b54cbd82b07d9b5364a1d976 /src/wallet/rpcwallet.cpp | |
| parent | Merge #20159: test: mining_getblocktemplate_longpoll.py improvements (use Min... (diff) | |
| download | discoin-052427eef1c9da84c474c5161b1910d3328ef0da.tar.xz discoin-052427eef1c9da84c474c5161b1910d3328ef0da.zip | |
wallet, bugfix: fix bumpfee with explicit fee rate modes
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
| -rw-r--r-- | src/wallet/rpcwallet.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 2295fb0ef..46e27bb4b 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -3461,7 +3461,6 @@ static RPCHelpMan bumpfee_helper(std::string method_name) if (options.exists("fee_rate")) { throw JSONRPCError(RPC_INVALID_PARAMETER, "conf_target can't be set with fee_rate. Please provide either a confirmation target in blocks for automatic fee estimation, or an explicit fee rate."); } - coin_control.m_confirm_target = ParseConfirmTarget(conf_target, pwallet->chain().estimateMaxBlocks()); } else if (options.exists("fee_rate")) { CFeeRate fee_rate(AmountFromValue(options["fee_rate"])); if (fee_rate <= CFeeRate(0)) { |