aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/decodescript.py
diff options
context:
space:
mode:
authormb300sd <mb300sd@git>2015-12-14 14:21:34 -0500
committermb300sd <mb300sd@git>2015-12-15 02:01:45 -0500
commit37d271d7cce44885f835292ffe99b54399b014d6 (patch)
tree4d9a7d48884c4bbeeb0cb3e91c3b8ae79b5a4fe8 /qa/rpc-tests/decodescript.py
parent7a5040155ed59f8c9c51734bb2ee29f1593eaa6a (diff)
Rename OP_NOP2 to OP_CHECKLOCKTIMEVERIFY.
Diffstat (limited to 'qa/rpc-tests/decodescript.py')
-rwxr-xr-xqa/rpc-tests/decodescript.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/decodescript.py b/qa/rpc-tests/decodescript.py
index 4bca623380..490808d49d 100755
--- a/qa/rpc-tests/decodescript.py
+++ b/qa/rpc-tests/decodescript.py
@@ -102,13 +102,13 @@ class DecodeScriptTest(BitcoinTestFramework):
# OP_IF
# <receiver-pubkey> OP_CHECKSIGVERIFY
# OP_ELSE
- # <lock-until> OP_NOP2 OP_DROP
+ # <lock-until> OP_CHECKLOCKTIMEVERIFY OP_DROP
# OP_ENDIF
# <sender-pubkey> OP_CHECKSIG
#
# lock until block 500,000
rpc_result = self.nodes[0].decodescript('63' + push_public_key + 'ad670320a107b17568' + push_public_key + 'ac')
- assert_equal('OP_IF ' + public_key + ' OP_CHECKSIGVERIFY OP_ELSE 500000 OP_NOP2 OP_DROP OP_ENDIF ' + public_key + ' OP_CHECKSIG', rpc_result['asm'])
+ assert_equal('OP_IF ' + public_key + ' OP_CHECKSIGVERIFY OP_ELSE 500000 OP_CHECKLOCKTIMEVERIFY OP_DROP OP_ENDIF ' + public_key + ' OP_CHECKSIG', rpc_result['asm'])
def decoderawtransaction_asm_sighashtype(self):
"""Tests decoding scripts via RPC command "decoderawtransaction".