Skip to content

Commit

Permalink
Clarify CreateZombieIfDeleted comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaPower committed Oct 10, 2024
1 parent 0adf3d1 commit 5cbfbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state/statedb_arbitrum.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (s *StateDB) AddStylusPagesEver(new uint16) {
s.arbExtraData.everWasmPages = common.SaturatingUAdd(s.arbExtraData.everWasmPages, new)
}

// Arbitrum: certain behavior created empty accounts in old geth versions.
// Arbitrum: preserve empty account behavior from old geth and ArbOS versions.
func (s *StateDB) CreateZombieIfDeleted(addr common.Address) {
if s.getStateObject(addr) == nil {
if _, destructed := s.stateObjectsDestruct[addr]; destructed {
Expand Down

0 comments on commit 5cbfbaf

Please sign in to comment.