Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliy committed Sep 10, 2024
1 parent 237db99 commit c9bb555
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/evm/jsonrpc/tracer_call.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ type callTracerConfig struct {
func newCallTracer(ctx *tracers.Context, cfg json.RawMessage, initValue any) (*tracers.Tracer, error) {
var txs types.Transactions
if initValue != nil {

var ok bool
txs, ok = initValue.(types.Transactions)
if !ok {
Expand Down Expand Up @@ -268,12 +267,12 @@ func (t *callTracer) GetResult() (json.RawMessage, error) {
})
}

resJson, err := json.Marshal(results)
resJSON, err := json.Marshal(results)
if err != nil {
return nil, err
}

return resJson, t.reason
return resJSON, t.reason
}

// Stop terminates execution of the tracer at the first opportune moment.
Expand Down

0 comments on commit c9bb555

Please sign in to comment.