aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/rawtransactions.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-04-03 21:20:14 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-04-03 21:33:56 +0200
commitffff866da83209dcaa463d8b9539d3f539f83a97 (patch)
treed1adb0a90470bee083786f288ca8a9c46a29ae8f /qa/rpc-tests/rawtransactions.py
parente662a76288011fe6a640f1c02c2381284ad93a03 (diff)
[qa] Remove misleading "errorString syntax"
Diffstat (limited to 'qa/rpc-tests/rawtransactions.py')
-rwxr-xr-xqa/rpc-tests/rawtransactions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/rpc-tests/rawtransactions.py b/qa/rpc-tests/rawtransactions.py
index 9f660c8bda..762a6d6a30 100755
--- a/qa/rpc-tests/rawtransactions.py
+++ b/qa/rpc-tests/rawtransactions.py
@@ -56,13 +56,13 @@ class RawTransactionsTest(BitcoinTestFramework):
rawtx = self.nodes[2].createrawtransaction(inputs, outputs)
rawtx = self.nodes[2].signrawtransaction(rawtx)
- errorString = ""
try:
rawtx = self.nodes[2].sendrawtransaction(rawtx['hex'])
except JSONRPCException as e:
- errorString = e.error['message']
+ assert("Missing inputs" in e.error['message'])
+ else:
+ assert(False)
- assert("Missing inputs" in errorString)
#########################
# RAW TX MULTISIG TESTS #