From a9c2051d3f5befedd953a6f3f3ac40c57ba216d8 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Tue, 2 Nov 2021 16:49:25 +0100 Subject: [PATCH] eth/tracers: minor fix --- eth/tracers/tracers.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eth/tracers/tracers.go b/eth/tracers/tracers.go index 356cd012b1..e9ac5112a3 100644 --- a/eth/tracers/tracers.go +++ b/eth/tracers/tracers.go @@ -26,7 +26,7 @@ import ( "github.com/ethereum/go-ethereum/eth/tracers/internal/tracers" ) -// Tracer interface extends vm.JSTracer and additionally +// Tracer interface extends vm.Tracer and additionally // allows collecting the tracing result. type Tracer interface { vm.Tracer @@ -40,9 +40,9 @@ var ( jsTracers = make(map[string]string) ) -// RegisterNativeTracer makes native tracers in this directory which adhere -// to the `JSTracer` interface available to the rest of the codebase. -// It is typically invoked in the `init()` function. +// RegisterNativeTracer makes native tracers which adhere +// to the `Tracer` interface available to the rest of the codebase. +// It is typically invoked in the `init()` function, e.g. see the `native/call.go`. func RegisterNativeTracer(name string, ctor func() Tracer) { nativeTracers[name] = ctor }