diff options
| author | MarcoFalke <[email protected]> | 2016-04-03 21:20:14 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-04-03 21:33:56 +0200 |
| commit | ffff866da83209dcaa463d8b9539d3f539f83a97 (patch) | |
| tree | d1adb0a90470bee083786f288ca8a9c46a29ae8f /qa/rpc-tests/rawtransactions.py | |
| parent | Merge #7797: RPC: fix generatetoaddress failing to parse address (diff) | |
| download | discoin-ffff866da83209dcaa463d8b9539d3f539f83a97.tar.xz discoin-ffff866da83209dcaa463d8b9539d3f539f83a97.zip | |
[qa] Remove misleading "errorString syntax"
Diffstat (limited to 'qa/rpc-tests/rawtransactions.py')
| -rwxr-xr-x | qa/rpc-tests/rawtransactions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/rpc-tests/rawtransactions.py b/qa/rpc-tests/rawtransactions.py index 9f660c8bd..762a6d6a3 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 # |