diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-12-13 09:52:13 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-12-13 15:18:35 +0100 |
commit | fa24a3df8796cbf4eeb35d950a4c848d605e5b22 (patch) | |
tree | 617edbfe15372e45f7d3aefeb70e969a1ebd4efb /test/functional/rpc_blockchain.py | |
parent | 767c012665953557ad02f731a84c6d10907a46af (diff) | |
download | bitcoin-fa24a3df8796cbf4eeb35d950a4c848d605e5b22.tar.xz |
rpc: Quote user supplied strings in error messages
Diffstat (limited to 'test/functional/rpc_blockchain.py')
-rwxr-xr-x | test/functional/rpc_blockchain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_blockchain.py b/test/functional/rpc_blockchain.py index 8f7d5114fa..4dd4899f74 100755 --- a/test/functional/rpc_blockchain.py +++ b/test/functional/rpc_blockchain.py @@ -329,7 +329,7 @@ class BlockchainTest(BitcoinTestFramework): assert 'muhash' not in r # Unknown hash_type raises an error - assert_raises_rpc_error(-8, "foohash is not a valid hash_type", node.gettxoutsetinfo, "foohash") + assert_raises_rpc_error(-8, "'foo hash' is not a valid hash_type", node.gettxoutsetinfo, "foo hash") def _test_getblockheader(self): self.log.info("Test getblockheader") |