Unverified Commit b4675032 authored by yann300's avatar yann300 Committed by GitHub

Fix decoding data of PUSH (#822)

parent eaad792f
......@@ -17,7 +17,7 @@ export function nameOpCodes (raw) {
i += jumpNum
}
const data = pushData.toString() !== '' ? ' ' + pushData.toString() : ''
const data = (pushData as any).toString('hex') !== '' ? ' ' + (pushData as any).toString('hex') : ''
code.push(this.pad(pc, this.roundLog(raw.length, 10)) + ' ' + curOpCode + data)
pushData = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment