diff options
Diffstat (limited to 'test/functional/signrawtransactions.py')
-rwxr-xr-x | test/functional/signrawtransactions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/signrawtransactions.py b/test/functional/signrawtransactions.py index 00a58e108e..9a45d53cb8 100755 --- a/test/functional/signrawtransactions.py +++ b/test/functional/signrawtransactions.py @@ -82,7 +82,7 @@ class SignRawTransactionsTest(BitcoinTestFramework): assert_equal(decodedRawTx["vin"][i]["vout"], inp["vout"]) # Make sure decoderawtransaction throws if there is extra data - assert_raises_jsonrpc(-22, "TX decode failed", self.nodes[0].decoderawtransaction, rawTx + "00") + assert_raises_rpc_error(-22, "TX decode failed", self.nodes[0].decoderawtransaction, rawTx + "00") rawTxSigned = self.nodes[0].signrawtransaction(rawTx, scripts, privKeys) |