diff options
author | Jon Atack <jon@atack.com> | 2020-11-10 12:29:01 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2020-11-12 11:43:17 +0100 |
commit | 449b730579566459e350703611629e63e54657ed (patch) | |
tree | 0cd98fd3d8cb44d52df4221677fa387e9ecc2dd7 /test/functional/rpc_fundrawtransaction.py | |
parent | 6da3afbaee5809ebf6d88efaa3958c505c2d71c7 (diff) | |
download | bitcoin-449b730579566459e350703611629e63e54657ed.tar.xz |
wallet: provide valid values if invalid estimate mode passed
Co-authored-by: Murch <murch@murch.one>
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 93d9eb9106..d515b4a7d3 100755 --- a/test/functional/rpc_fundrawtransaction.py +++ b/test/functional/rpc_fundrawtransaction.py @@ -738,7 +738,7 @@ class RawTransactionsTest(BitcoinTestFramework): assert_raises_rpc_error(-3, "Expected type string for estimate_mode, got {}".format(k), node.fundrawtransaction, rawtx, {"estimate_mode": v, "conf_target": 0.1, "add_inputs": True}) for mode in ["", "foo", Decimal("3.141592")]: - assert_raises_rpc_error(-8, "Invalid estimate_mode parameter", + assert_raises_rpc_error(-8, 'Invalid estimate_mode parameter, must be one of: "unset", "economical", "conservative"', node.fundrawtransaction, rawtx, {"estimate_mode": mode, "conf_target": 0.1, "add_inputs": True}) self.log.info("Test fundrawtxn with invalid conf_target settings") |