Skip to content

Commit

Permalink
internal/ethapi: remove ineffassign
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman committed Jul 27, 2021
1 parent 1b0b953 commit 03f68df
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/ethapi/api.go
Expand Up @@ -1417,10 +1417,6 @@ func AccessList(ctx context.Context, b Backend, blockNrOrHash rpc.BlockNumberOrH
}
// Copy the original db so we don't modify it
statedb := db.Copy()
gasPrice := args.GasPrice.ToInt()
if gasPrice == nil {
gasPrice = new(big.Int)
}
// Set the accesslist to the last al
args.AccessList = &accessList
msg, err := args.ToMessage(b.RPCGasCap(), header.BaseFee)
Expand Down

0 comments on commit 03f68df

Please sign in to comment.