eth/tracers: make txhash blockhash accessible to native tracers (#24679)

This commit is contained in:
Sina Mahmoodi
2022-04-12 21:09:27 +02:00
committed by GitHub
parent d4d288e3f1
commit 9c82c646e4
5 changed files with 12 additions and 9 deletions

View File

@ -35,7 +35,7 @@ func init() {
type noopTracer struct{}
// newNoopTracer returns a new noop tracer.
func newNoopTracer() tracers.Tracer {
func newNoopTracer(ctx *tracers.Context) tracers.Tracer {
return &noopTracer{}
}