script: no need to use readUInt8
This commit is contained in:
parent
4ec7c40a02
commit
48dc0a9054
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ function decompile (buffer) {
|
|||
var i = 0
|
||||
|
||||
while (i < buffer.length) {
|
||||
var opcode = buffer.readUInt8(i)
|
||||
var opcode = buffer[i]
|
||||
|
||||
// data chunk
|
||||
if ((opcode > OPS.OP_0) && (opcode <= OPS.OP_PUSHDATA4)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue