From 37952f606326df77e5819bbe3ab7398d74a669c0 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Mon, 6 May 2024 18:13:34 +0200 Subject: [PATCH] remove unused line --- core/state_transition.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/state_transition.go b/core/state_transition.go index fba41762ad..16beff8efd 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -410,9 +410,6 @@ func (st *StateTransition) TransitionDb() (*ExecutionResult, error) { if targetAddr := msg.To; targetAddr != nil { st.evm.AccessEvents.AddTxDestination(targetAddr.Bytes(), msg.Value.Sign() != 0) - - // ensure the code size ends up in the access witness - st.evm.StateDB.GetCodeSize(*targetAddr) } }