rollback isCallToPreCompiledContract

pull/694/head
yann300 4 years ago
parent f0c196a95c
commit 83ded7dff2
  1. 2
      libs/remix-debug/src/trace/traceHelper.ts

@ -54,7 +54,7 @@ export function isCallToPrecompiledContract (index, trace) {
// if stack empty => this is not a precompiled contract
const step = trace[index]
if (this.isCallInstruction(step)) {
return index + 1 < trace.length && (trace[index].depth === trace[index + 1].depth)
return index + 1 < trace.length && trace[index + 1].stack.length !== 0
}
return false
}

Loading…
Cancel
Save