core/state: fix

This commit is contained in:
Gary Rong 2026-04-26 23:19:30 +08:00 committed by Jared Wasinger
parent 295d9cd5ab
commit b675e5bc26

View file

@ -722,9 +722,6 @@ func (s *StateDB) Copy() *StateDB {
if s.accessEvents != nil {
state.accessEvents = s.accessEvents.Copy()
}
if s.stateReadList != nil {
state.stateReadList = s.stateReadList.Copy()
}
// Deep copy cached state objects.
for addr, obj := range s.stateObjects {
state.stateObjects[addr] = obj.deepCopy(state)