0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-12 11:19:08 -05:00

Fix nulldummy.py test

This commit is contained in:
Johnson Lau 2016-09-30 00:18:13 +08:00
parent c84181665f
commit 46a4774d2b

View file

@ -119,6 +119,8 @@ class NULLDUMMYTest(BitcoinTestFramework):
node.sendrawtransaction(bytes_to_hex_str(tx.serialize_with_witness()), True) node.sendrawtransaction(bytes_to_hex_str(tx.serialize_with_witness()), True)
except JSONRPCException as exp: except JSONRPCException as exp:
assert_equal(exp.error["message"], msg) assert_equal(exp.error["message"], msg)
else:
assert_equal('', msg)
return tx.hash return tx.hash