Skip to content

Commit 7e967ae

Browse files
authored
Update scripts.js
fixed a typo
1 parent d705497 commit 7e967ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/helpers/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ const parseScript = (script, opcodes = opcodeArray) => {
620620
}
621621
pop.data = script.slice(i + 1, i + op.length);
622622
i += op.length - 1;
623-
} else if (op.legnth < 0) {
623+
} else if (op.length < 0) {
624624
let l;
625625
let off = i + 1;
626626

0 commit comments

Comments
 (0)