Commit 83ded7df authored by yann300's avatar yann300

rollback isCallToPreCompiledContract

parent f0c196a9
...@@ -54,7 +54,7 @@ export function isCallToPrecompiledContract (index, trace) { ...@@ -54,7 +54,7 @@ export function isCallToPrecompiledContract (index, trace) {
// if stack empty => this is not a precompiled contract // if stack empty => this is not a precompiled contract
const step = trace[index] const step = trace[index]
if (this.isCallInstruction(step)) { 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 return false
} }
......
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