aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_blockchain.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-12-13 09:52:13 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-12-13 15:18:35 +0100
commitfa24a3df8796cbf4eeb35d950a4c848d605e5b22 (patch)
tree617edbfe15372e45f7d3aefeb70e969a1ebd4efb /test/functional/rpc_blockchain.py
parent767c012665953557ad02f731a84c6d10907a46af (diff)
downloadbitcoin-fa24a3df8796cbf4eeb35d950a4c848d605e5b22.tar.xz
rpc: Quote user supplied strings in error messages
Diffstat (limited to 'test/functional/rpc_blockchain.py')
-rwxr-xr-xtest/functional/rpc_blockchain.py2
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")