Skip to content

Commit f5a68a4

Browse files
gballetfjl
authored andcommitted
eth/tracers: fix staticcheck warnings (#20379)
1 parent f06ae5c commit f5a68a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eth/tracers/tracer.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,17 +419,17 @@ func New(code string) (*Tracer, error) {
419419
tracer.tracerObject = 0 // yeah, nice, eval can't return the index itself
420420

421421
if !tracer.vm.GetPropString(tracer.tracerObject, "step") {
422-
return nil, fmt.Errorf("Trace object must expose a function step()")
422+
return nil, fmt.Errorf("trace object must expose a function step()")
423423
}
424424
tracer.vm.Pop()
425425

426426
if !tracer.vm.GetPropString(tracer.tracerObject, "fault") {
427-
return nil, fmt.Errorf("Trace object must expose a function fault()")
427+
return nil, fmt.Errorf("trace object must expose a function fault()")
428428
}
429429
tracer.vm.Pop()
430430

431431
if !tracer.vm.GetPropString(tracer.tracerObject, "result") {
432-
return nil, fmt.Errorf("Trace object must expose a function result()")
432+
return nil, fmt.Errorf("trace object must expose a function result()")
433433
}
434434
tracer.vm.Pop()
435435

0 commit comments

Comments
 (0)