diff options
author | Jon Atack <jon@atack.com> | 2021-04-27 11:04:10 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-05-09 12:50:02 +0200 |
commit | 06a90fa0381c790f7bde2ab9bf47d2b22acef4a5 (patch) | |
tree | 0791ce660a9700afec5b85184483f1e7d3003a50 /test/functional/rpc_fundrawtransaction.py | |
parent | 0742c7840f03505597fd2de87db97f12597ef667 (diff) | |
download | bitcoin-06a90fa0381c790f7bde2ab9bf47d2b22acef4a5.tar.xz |
rpc: for sat/vB fee rates, limit ParseFixedPoint decimals to 3
Diffstat (limited to 'test/functional/rpc_fundrawtransaction.py')
-rwxr-xr-x | test/functional/rpc_fundrawtransaction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_fundrawtransaction.py b/test/functional/rpc_fundrawtransaction.py index 345c20389c..256f6c610c 100755 --- a/test/functional/rpc_fundrawtransaction.py +++ b/test/functional/rpc_fundrawtransaction.py @@ -773,7 +773,7 @@ class RawTransactionsTest(BitcoinTestFramework): assert_raises_rpc_error(-3, "Invalid amount", node.fundrawtransaction, rawtx, {param: invalid_value, "add_inputs": True}) self.log.info("Test min fee rate checks are bypassed with fundrawtxn, e.g. a fee_rate under 1 sat/vB is allowed") - node.fundrawtransaction(rawtx, {"fee_rate": 0.99999999, "add_inputs": True}) + node.fundrawtransaction(rawtx, {"fee_rate": 0.999, "add_inputs": True}) node.fundrawtransaction(rawtx, {"feeRate": 0.00000999, "add_inputs": True}) self.log.info("- raises RPC error if both feeRate and fee_rate are passed") |