diff --git a/app/helpers/scripts.js b/app/helpers/scripts.js index 6540de1be7..8fec312e05 100644 --- a/app/helpers/scripts.js +++ b/app/helpers/scripts.js @@ -620,7 +620,7 @@ const parseScript = (script, opcodes = opcodeArray) => { } pop.data = script.slice(i + 1, i + op.length); i += op.length - 1; - } else if (op.legnth < 0) { + } else if (op.length < 0) { let l; let off = i + 1;