mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
[qa] Use python2/3 syntax
This commit is contained in:
@@ -59,7 +59,7 @@ class RawTransactionsTest(BitcoinTestFramework):
|
||||
errorString = ""
|
||||
try:
|
||||
rawtx = self.nodes[2].sendrawtransaction(rawtx['hex'])
|
||||
except JSONRPCException,e:
|
||||
except JSONRPCException as e:
|
||||
errorString = e.error['message']
|
||||
|
||||
assert("Missing inputs" in errorString)
|
||||
|
||||
Reference in New Issue
Block a user