estimate_mode/conf_target both are overridden by feeRate, so should not be specified together with feeRate.
Based on #10706
estimate_mode/conf_target both are overridden by feeRate, so should not be specified together with feeRate.
Based on #10706
2794 | @@ -2798,9 +2795,15 @@ UniValue fundrawtransaction(const JSONRPCRequest& request) 2795 | coinControl.signalRbf = options["replaceable"].get_bool(); 2796 | } 2797 | if (options.exists("conf_target")) { 2798 | - coinControl.nConfirmTarget = options["conf_target"].get_int(); 2799 | + if (coinControl.m_feerate) {
Either use coinControl.fOverrideFeeRate or, better, options.exists("feeRate")? Same below.
Why?
Just because if you change order (handle feeRate option below) it still works.
Nit, s/fundrawtx/fundrawtransaction.
Fixed. Left the commit message as-is to keep it short.
Concept ACK.
utACK b77a803.
Needs rebase.
Rebased on latest #10706.
@TheBlueMatt please rebase (10706 is merged)
estimate_mode/conf_target both are overridden by feeRate, so should
not be specified together with feeRate.
Rebased (cleanly, with no changes).
utACK 99c7fc3
utACK
Milestone
0.15.0