diff options
author | MarcoFalke <falke.marco@gmail.com> | 2015-12-22 10:43:46 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-03-14 16:45:18 +0100 |
commit | fad8cfb893ac0ba83c6fc2367ade55bfe4fa75f6 (patch) | |
tree | c57254ebedc80db63737f4e52840bd8e9ee9b298 /qa/rpc-tests/invalidtxrequest.py | |
parent | fa8cd46f39778925eaf2caf812cccd9fb8503368 (diff) | |
download | bitcoin-fad8cfb893ac0ba83c6fc2367ade55bfe4fa75f6.tar.xz |
[qa] mininode: Add and use CONSTs
Diffstat (limited to 'qa/rpc-tests/invalidtxrequest.py')
-rwxr-xr-x | qa/rpc-tests/invalidtxrequest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/invalidtxrequest.py b/qa/rpc-tests/invalidtxrequest.py index c2fe4f1dff..8fe471ccd3 100755 --- a/qa/rpc-tests/invalidtxrequest.py +++ b/qa/rpc-tests/invalidtxrequest.py @@ -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... |