diff --git a/libs/remix-debug/src/code/codeUtils.ts b/libs/remix-debug/src/code/codeUtils.ts index 2b438f92b6..1c0c88374a 100644 --- a/libs/remix-debug/src/code/codeUtils.ts +++ b/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 = ''