script: minor.

This commit is contained in:
Christopher Jeffrey 2016-07-16 12:17:08 -07:00
parent 7bc7f395ce
commit 8d497bca1e
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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;
}