Skip to content

Commit

Permalink
Remove negligible optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
matejmode authored and wsodsong committed May 21, 2024
1 parent 8b56bcd commit 9d62e27
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions utildb/gen_deleted_accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ func GenDeletedAccountsAction(cfg *utils.Config, ddb *substate.DestroyedAccountD
// resolveDeletionsAndResurrections reads txLivelinessResults and resolves deletions and resurrections.
func resolveDeletionsAndResurrections(ddb *substate.DestroyedAccountDB, orderedResults chan txLivelinessResult, abort utils.Event, errChan chan error) {
var deleteHistory = make(map[common.Address]bool)
defer func() {
// explicitly set to nil to release memory as soon as possible
deleteHistory = nil
}()

for {
select {
Expand Down

0 comments on commit 9d62e27

Please sign in to comment.