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
|
var i = 0
|
||||||
|
|
||||||
while (i < buffer.length) {
|
while (i < buffer.length) {
|
||||||
var opcode = buffer.readUInt8(i)
|
var opcode = buffer[i]
|
||||||
|
|
||||||
// data chunk
|
// data chunk
|
||||||
if ((opcode > OPS.OP_0) && (opcode <= OPS.OP_PUSHDATA4)) {
|
if ((opcode > OPS.OP_0) && (opcode <= OPS.OP_PUSHDATA4)) {
|
||||||
|
|
Loading…
Reference in a new issue