Browse Source

Fix nulldummy.py test

0.14
Johnson Lau 8 years ago
parent
commit
46a4774d2b
  1. 2
      qa/rpc-tests/nulldummy.py

2
qa/rpc-tests/nulldummy.py

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

Loading…
Cancel
Save