Skip to content

Commit

Permalink
eth/tracers: fix the default callTrace name of callTracerJs
Browse files Browse the repository at this point in the history
Signed-off-by: wenbiao <[email protected]>
  • Loading branch information
rigsec committed Dec 12, 2021
1 parent 85ef42c commit 62a3bc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth/tracers/internal/tracetest/calltrace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ func TestCallTracerLegacy(t *testing.T) {
}

func TestCallTracerJs(t *testing.T) {
testCallTracer("callTracerJs", "call_tracer", t)
testCallTracer("callTracer", "call_tracer", t)
}

func TestCallTracerNative(t *testing.T) {
testCallTracer("callTracer", "call_tracer", t)
testCallTracer("callTracerNative", "call_tracer", t)
}

func testCallTracer(tracerName string, dirPath string, t *testing.T) {
Expand Down

0 comments on commit 62a3bc2

Please sign in to comment.