diff options
author | Leonardo Araujo <leonardo.aa88@gmail.com> | 2022-10-04 13:51:24 -0300 |
---|---|---|
committer | Leonardo Araujo <leonardo.aa88@gmail.com> | 2022-10-10 18:08:00 -0300 |
commit | 2dede9f67596787e18904d3d5961f48ec75f241e (patch) | |
tree | 81472b4316cf093e3abcf3c61a526c3d1c346e46 /test/functional/rpc_mempool_info.py | |
parent | 9ca39d69dfe03c19662867c3d53a5e6e41277d4a (diff) | |
download | bitcoin-2dede9f67596787e18904d3d5961f48ec75f241e.tar.xz |
Adjust RPCTypeCheckObj error string
Diffstat (limited to 'test/functional/rpc_mempool_info.py')
-rwxr-xr-x | test/functional/rpc_mempool_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_mempool_info.py b/test/functional/rpc_mempool_info.py index 9b5a3b9112..ae9c6572cf 100755 --- a/test/functional/rpc_mempool_info.py +++ b/test/functional/rpc_mempool_info.py @@ -84,7 +84,7 @@ class RPCMempoolInfoTest(BitcoinTestFramework): assert_raises_rpc_error(-8, "Invalid parameter, vout cannot be negative", self.nodes[0].gettxspendingprevout, [{'txid' : txidA, 'vout' : -1}]) self.log.info("Invalid txid provided") - assert_raises_rpc_error(-3, "Expected type string for txid, got number", self.nodes[0].gettxspendingprevout, [{'txid' : 42, 'vout' : 0}]) + assert_raises_rpc_error(-3, "JSON value of type number for field txid is not of expected type string", self.nodes[0].gettxspendingprevout, [{'txid' : 42, 'vout' : 0}]) self.log.info("Missing outputs") assert_raises_rpc_error(-8, "Invalid parameter, outputs are missing", self.nodes[0].gettxspendingprevout, []) |