aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_signrawtransactionwithwallet.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/wallet_signrawtransactionwithwallet.py
parent0de63b8b46eff5cda85b4950062703324ba65a80 (diff)
downloadbitcoin-fa6ab0d020d0b1492203f7eb2ccb8051812de086.tar.xz
rpc: Reword SighashFromStr error message
Diffstat (limited to 'test/functional/wallet_signrawtransactionwithwallet.py')
-rwxr-xr-xtest/functional/wallet_signrawtransactionwithwallet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_signrawtransactionwithwallet.py b/test/functional/wallet_signrawtransactionwithwallet.py
index b0517f951d..612a2542e7 100755
--- a/test/functional/wallet_signrawtransactionwithwallet.py
+++ b/test/functional/wallet_signrawtransactionwithwallet.py
@@ -55,7 +55,7 @@ class SignRawTransactionWithWalletTest(BitcoinTestFramework):
def test_with_invalid_sighashtype(self):
self.log.info("Test signrawtransactionwithwallet raises if an invalid sighashtype is passed")
- assert_raises_rpc_error(-8, "all is not a valid sighash parameter.", self.nodes[0].signrawtransactionwithwallet, hexstring=RAW_TX, sighashtype="all")
+ assert_raises_rpc_error(-8, "'all' is not a valid sighash parameter.", self.nodes[0].signrawtransactionwithwallet, hexstring=RAW_TX, sighashtype="all")
def script_verification_error_test(self):
"""Create and sign a raw transaction with valid (vin 0), invalid (vin 1) and one missing (vin 2) input script.