mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-20 11:46:44 +00:00
Apply suggestion from @jwasinger
This commit is contained in:
parent
54ab5b20a4
commit
5407ce9278
1 changed files with 2 additions and 1 deletions
|
|
@ -237,7 +237,8 @@ func (s *hookedStateDB) Finalise(deleteEmptyObjects bool) {
|
|||
}
|
||||
|
||||
// Collect all self-destructed addresses first, then sort them to ensure
|
||||
// deterministic ordering when emitting hooks.
|
||||
// that state change hooks will be invoked in deterministic
|
||||
// order when the accounts are deleted below
|
||||
var selfDestructedAddrs []common.Address
|
||||
for addr := range s.inner.journal.dirties {
|
||||
obj := s.inner.stateObjects[addr]
|
||||
|
|
|
|||
Loading…
Reference in a new issue