Fix nulldummy.py test
Github-Pull: #8841 Rebased-From: 46a4774d2bb9cc863e43507212ef989fa10d56d4
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user