Skip to content

Commit 441c616

Browse files
committed
add opcodes test
1 parent f298925 commit 441c616

File tree

3 files changed

+489
-2
lines changed

3 files changed

+489
-2
lines changed

logic/ltx/ltx.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ func CheckRegularTransaction(transaction *tx.Tx) error {
3939
}
4040

4141
// check standard
42+
// ToDo: config
4243
if model.ActiveNetParams.RequireStandard {
4344
err := transaction.CheckStandard()
4445
if err != nil {

model/opcodes/opcode.go renamed to model/opcodes/opcodes.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ const (
135135
OP_NOP9 = 0xb8
136136
OP_NOP10 = 0xb9
137137
// More crypto
138-
OP_CHECKDATASIG = 0xba
139-
OP_CHECKDATASIGVERIFY = 0xbb
138+
//OP_CHECKDATASIG = 0xba
139+
//OP_CHECKDATASIGVERIFY = 0xbb
140140
// The first op_code value after all defined opcodes
141141
FIRST_UNDEFINED_OP_VALUE
142142

0 commit comments

Comments
 (0)