mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
Update core/state/statedb_hooked.go
This commit is contained in:
parent
1e4d5dfc07
commit
3957143e7c
1 changed files with 0 additions and 1 deletions
|
|
@ -247,7 +247,6 @@ func (s *hookedStateDB) Finalise(deleteEmptyObjects bool) {
|
||||||
}
|
}
|
||||||
selfDestructedAddrs = append(selfDestructedAddrs, addr)
|
selfDestructedAddrs = append(selfDestructedAddrs, addr)
|
||||||
}
|
}
|
||||||
// Sort addresses to ensure deterministic hook emission order.
|
|
||||||
sort.Slice(selfDestructedAddrs, func(i, j int) bool {
|
sort.Slice(selfDestructedAddrs, func(i, j int) bool {
|
||||||
return bytes.Compare(selfDestructedAddrs[i][:], selfDestructedAddrs[j][:]) < 0
|
return bytes.Compare(selfDestructedAddrs[i][:], selfDestructedAddrs[j][:]) < 0
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue