aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_estimatefee.py
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-11-10 12:29:01 +0100
committerJon Atack <jon@atack.com>2020-11-12 11:43:17 +0100
commit449b730579566459e350703611629e63e54657ed (patch)
tree0cd98fd3d8cb44d52df4221677fa387e9ecc2dd7 /test/functional/rpc_estimatefee.py
parent6da3afbaee5809ebf6d88efaa3958c505c2d71c7 (diff)
downloadbitcoin-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_estimatefee.py')
-rwxr-xr-xtest/functional/rpc_estimatefee.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_estimatefee.py b/test/functional/rpc_estimatefee.py
index 1fff9e1512..3b76c7dd1e 100755
--- a/test/functional/rpc_estimatefee.py
+++ b/test/functional/rpc_estimatefee.py
@@ -28,7 +28,7 @@ class EstimateFeeTest(BitcoinTestFramework):
# wrong type for estimatesmartfee(estimate_mode)
assert_raises_rpc_error(-3, "Expected type string, got number", self.nodes[0].estimatesmartfee, 1, 1)
- assert_raises_rpc_error(-8, "Invalid estimate_mode parameter", self.nodes[0].estimatesmartfee, 1, 'foo')
+ assert_raises_rpc_error(-8, 'Invalid estimate_mode parameter, must be one of: "unset", "economical", "conservative"', self.nodes[0].estimatesmartfee, 1, 'foo')
# wrong type for estimaterawfee(threshold)
assert_raises_rpc_error(-3, "Expected type number, got string", self.nodes[0].estimaterawfee, 1, 'foo')