mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
[qa] mininode: Add and use CONSTs
This commit is contained in:
@@ -63,7 +63,7 @@ class InvalidTxRequestTest(ComparisonTestFramework):
|
||||
|
||||
# chr(100) is OP_NOTIF
|
||||
# Transaction will be rejected with code 16 (REJECT_INVALID)
|
||||
tx1 = create_transaction(self.block1.vtx[0], 0, chr(100), 50*100000000 - 12000)
|
||||
tx1 = create_transaction(self.block1.vtx[0], 0, chr(100), 50 * COIN - 12000)
|
||||
yield TestInstance([[tx1, RejectResult(16, 'mandatory-script-verify-flag-failed')]])
|
||||
|
||||
# TODO: test further transactions...
|
||||
|
||||
Reference in New Issue
Block a user