Browse Source

script: no need to use readUInt8

hk-custom-address
Daniel Cousens 10 years ago
parent
commit
48dc0a9054
  1. 2
      src/script.js

2
src/script.js

@ -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…
Cancel
Save