Skip to content

Commit

Permalink
nit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ckartik committed May 29, 2024
1 parent 725ebaf commit 3d61c1d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1530,10 +1530,6 @@ func AccessList(ctx context.Context, b Backend, blockNrOrHash rpc.BlockNumberOrH
vmenv := b.GetEVM(ctx, msg, statedb, header, &config, nil)
res, err := core.ApplyMessage(vmenv, msg, new(core.GasPool).AddGas(msg.GasLimit))
if err != nil {
log.Error("Failed to apply message", "txHash", args.toTransaction().Hash(), "error", err)
} else {
log.Info("Successfully applied message", "txHash", args.toTransaction().Hash())
}
return nil, 0, nil, fmt.Errorf("failed to apply transaction: %v err: %v", args.toTransaction().Hash(), err)
}
if tracer.Equal(prevTracer) {
Expand Down

0 comments on commit 3d61c1d

Please sign in to comment.