script: minor.
This commit is contained in:
parent
7bc7f395ce
commit
8d497bca1e
@ -2476,7 +2476,7 @@ Script.isCode = function isCode(raw) {
|
||||
if (op.value === -1)
|
||||
return false;
|
||||
|
||||
if (constants.opcodesByVal[op.value] == null)
|
||||
if (op.value > opcodes.OP_NOP10)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user