FundTransaction
calls GetMinimumFee
which, when the fee rate is absurdly high, quietly reduces the fee to -maxtxfee
.
Becaue an absurdly high fee rate is usually the result of a fat finger, aborting seems safer behavior.
Before:
0bitcoin-cli walletcreatefundedpsbt '[]' '[{"tb1q...": 0.01}]' 0 '{"feeRate": 10}' true
1{
2 "psbt": "cHNidP8...gAA=",
3 "fee": 0.10000000,
4 "changepos": 1
5}
After:
0bitcoin-cli walletcreatefundedpsbt '[]' '[{"tb1q...": 0.01}]' 0 '{"feeRate": 10}' true
1error code: -25
2error message:
3Fee exceeds maximum configured by -maxtxfee
QT still checks the max fee rate as expected: