Fix nulldummy.py test

This commit is contained in:
Johnson Lau committed 2016-09-30 02:48:09 +08:00
1 parent c84181665f
commit 46a4774d2b
1 file changed
+2
+2
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