From e55ea87dee88744a5c1d101af2b7a21c99486d5c Mon Sep 17 00:00:00 2001 From: Chris Ziogas Date: Thu, 3 Dec 2020 23:35:41 +0200 Subject: [PATCH] core/vm/runtime: remove duplicated line This line is duplicated, though it doesn't cause any issues. You can check the actual discussion with @holiman [here](https://github.com/ethereum/go-ethereum/pull/21509#discussion_r535541122). --- core/vm/runtime/runtime.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/vm/runtime/runtime.go b/core/vm/runtime/runtime.go index d99e8f3b2bc0..fb2d04df5072 100644 --- a/core/vm/runtime/runtime.go +++ b/core/vm/runtime/runtime.go @@ -118,7 +118,6 @@ func Execute(code, input []byte, cfg *Config) ([]byte, *state.StateDB, error) { cfg.State.AddAddressToAccessList(address) for _, addr := range vmenv.ActivePrecompiles() { cfg.State.AddAddressToAccessList(addr) - cfg.State.AddAddressToAccessList(addr) } } cfg.State.CreateAccount(address)