remove unused line

This commit is contained in:
Guillaume Ballet 2024-05-06 18:13:34 +02:00
parent d804ab92cd
commit 37952f6063

View file

@ -410,9 +410,6 @@ func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
if targetAddr := msg.To; targetAddr != nil { if targetAddr := msg.To; targetAddr != nil {
st.evm.AccessEvents.AddTxDestination(targetAddr.Bytes(), msg.Value.Sign() != 0) 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)
} }
} }