diff options
author | BtcDrak <btcdrak@gmail.com> | 2016-06-28 17:23:32 +0100 |
---|---|---|
committer | BtcDrak <btcdrak@gmail.com> | 2016-06-28 17:23:32 +0100 |
commit | 18c975c831a3a71b26df43a2617a06840f3aa377 (patch) | |
tree | 151703d00b255d6607634313f79ad2354aafc985 /qa/rpc-tests/bip9-softforks.py | |
parent | 14d01309bed59afb08651f2b701ff90371b15b20 (diff) |
Rename NOP3 to CHECSEQUENCEVERIFY in rpc tests
Diffstat (limited to 'qa/rpc-tests/bip9-softforks.py')
-rwxr-xr-x | qa/rpc-tests/bip9-softforks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/bip9-softforks.py b/qa/rpc-tests/bip9-softforks.py index d7e8e5e5a5..979d1410c2 100755 --- a/qa/rpc-tests/bip9-softforks.py +++ b/qa/rpc-tests/bip9-softforks.py @@ -9,7 +9,7 @@ from test_framework.util import * from test_framework.mininode import CTransaction, NetworkThread from test_framework.blocktools import create_coinbase, create_block from test_framework.comptool import TestInstance, TestManager -from test_framework.script import CScript, OP_1NEGATE, OP_NOP3, OP_DROP +from test_framework.script import CScript, OP_1NEGATE, OP_CHECKSEQUENCEVERIFY, OP_DROP from io import BytesIO import time import itertools @@ -220,7 +220,7 @@ class BIP9SoftForksTest(ComparisonTestFramework): '''Modify the signature in vin 0 of the tx to fail CSV Prepends -1 CSV DROP in the scriptSig itself. ''' - tx.vin[0].scriptSig = CScript([OP_1NEGATE, OP_NOP3, OP_DROP] + + tx.vin[0].scriptSig = CScript([OP_1NEGATE, OP_CHECKSEQUENCEVERIFY, OP_DROP] + list(CScript(tx.vin[0].scriptSig))) def sequence_lock_invalidate(self, tx): |