Skip to content

Commit

Permalink
tracers: fix err in 4byte, add some opcode analysis tools
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman authored and karalabe committed Jun 20, 2018
1 parent f1986f8 commit 4210dd1
Show file tree
Hide file tree
Showing 5 changed files with 214 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eth/tracers/internal/tracers/4byte_tracer.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
return;
}
// Skip any pre-compile invocations, those are just fancy opcodes
if (isPrecompiled(toAddress(log.stack.peek(1)))) {
if (isPrecompiled(toAddress(log.stack.peek(1).toString(16)))) {
return;
}
// Gather internal call details
Expand Down
Loading

0 comments on commit 4210dd1

Please sign in to comment.