diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2018-02-06 18:47:51 -0500 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2018-02-08 11:02:41 -0500 |
commit | bb00c95c16f50c5dfab1aa8fbb6c873318a6acc8 (patch) | |
tree | 690d0a1dda3b3be64c6cb3200df795db58c992b9 /test/functional/mempool_limit.py | |
parent | 8b8a1c4f8b10ce96fe3826ab28b82858d4ef9cf2 (diff) |
Consistently use FormatStateMessage in RPC error output
This will include the error code and debug output as well as the reason string.
See #11955 for the motivation.
Diffstat (limited to 'test/functional/mempool_limit.py')
-rwxr-xr-x | test/functional/mempool_limit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/mempool_limit.py b/test/functional/mempool_limit.py index 1385271e6d..7e01663c96 100755 --- a/test/functional/mempool_limit.py +++ b/test/functional/mempool_limit.py @@ -58,7 +58,7 @@ class MempoolLimitTest(BitcoinTestFramework): # specifically fund this tx with a fee < mempoolminfee, >= than minrelaytxfee txF = self.nodes[0].fundrawtransaction(tx, {'feeRate': relayfee}) txFS = self.nodes[0].signrawtransaction(txF['hex']) - assert_raises_rpc_error(-26, "66: mempool min fee not met", self.nodes[0].sendrawtransaction, txFS['hex']) + assert_raises_rpc_error(-26, "mempool min fee not met, 166 < 411 (code 66)", self.nodes[0].sendrawtransaction, txFS['hex']) if __name__ == '__main__': MempoolLimitTest().main() |