Update core/state/statedb_hooked.go

This commit is contained in:
jwasinger 2026-01-20 15:19:20 +09:00 committed by GitHub
parent 1e4d5dfc07
commit 3957143e7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,7 +247,6 @@ func (s *hookedStateDB) Finalise(deleteEmptyObjects bool) {
}
selfDestructedAddrs = append(selfDestructedAddrs, addr)
}
// Sort addresses to ensure deterministic hook emission order.
sort.Slice(selfDestructedAddrs, func(i, j int) bool {
return bytes.Compare(selfDestructedAddrs[i][:], selfDestructedAddrs[j][:]) < 0
})