aboutsummaryrefslogtreecommitdiff
path: root/test/functional/signrawtransactions.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-07-12 10:29:02 -0400
committerJohn Newbery <john@johnnewbery.com>2017-10-05 09:48:46 -0400
commit5864e9c1611e6034a8d49b78231abe6bfade686d (patch)
treee8cec4a64d53873002d7ab327e2cd026802bc49e /test/functional/signrawtransactions.py
parente93fff1463ae906fc986bf98c3b118c82f171546 (diff)
downloadbitcoin-5864e9c1611e6034a8d49b78231abe6bfade686d.tar.xz
[tests] remove direct testing on JSONRPCException from individual test cases
Diffstat (limited to 'test/functional/signrawtransactions.py')
-rwxr-xr-xtest/functional/signrawtransactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/signrawtransactions.py b/test/functional/signrawtransactions.py
index b47ef93955..00a58e108e 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(JSONRPCException, self.nodes[0].decoderawtransaction, rawTx + "00")
+ assert_raises_jsonrpc(-22, "TX decode failed", self.nodes[0].decoderawtransaction, rawTx + "00")
rawTxSigned = self.nodes[0].signrawtransaction(rawTx, scripts, privKeys)