Commit 133a88e7 authored by yann300's avatar yann300

ensure 0x prefixed

parent ea7a127a
......@@ -151,7 +151,7 @@ export class TraceManager {
if (this.trace[stepIndex] && this.trace[stepIndex].stack) { // there's always a stack
const stack = this.trace[stepIndex].stack.slice(0)
stack.reverse()
return stack
return stack.map(el => el.startsWith('0x') ? el : '0x' + el)
} else {
throw new Error('no stack found')
}
......
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