yann300 4 years ago committed by GitHub
parent eaad792fc6
commit b4675032fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libs/remix-debug/src/code/codeUtils.ts

@ -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 = ''

Loading…
Cancel
Save