aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_signrawtransactionwithkey.py
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-04-15 09:57:28 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-04-15 10:01:15 +0200
commitfa6ab0d020d0b1492203f7eb2ccb8051812de086 (patch)
treefdafb0b5bc1b4ed0b2423846a09fd9acf1f911c4 /test/functional/rpc_signrawtransactionwithkey.py
parent0de63b8b46eff5cda85b4950062703324ba65a80 (diff)
rpc: Reword SighashFromStr error message
Diffstat (limited to 'test/functional/rpc_signrawtransactionwithkey.py')
-rwxr-xr-xtest/functional/rpc_signrawtransactionwithkey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_signrawtransactionwithkey.py b/test/functional/rpc_signrawtransactionwithkey.py
index 0913f5057e..268584331e 100755
--- a/test/functional/rpc_signrawtransactionwithkey.py
+++ b/test/functional/rpc_signrawtransactionwithkey.py
@@ -124,7 +124,7 @@ class SignRawTransactionWithKeyTest(BitcoinTestFramework):
self.log.info("Test signing transaction with invalid sighashtype")
tx = self.nodes[0].createrawtransaction(INPUTS, OUTPUTS)
privkeys = [self.nodes[0].get_deterministic_priv_key().key]
- assert_raises_rpc_error(-8, "all is not a valid sighash parameter.", self.nodes[0].signrawtransactionwithkey, tx, privkeys, sighashtype="all")
+ assert_raises_rpc_error(-8, "'all' is not a valid sighash parameter.", self.nodes[0].signrawtransactionwithkey, tx, privkeys, sighashtype="all")
def run_test(self):
self.successful_signing_test()