core/state: revert metro suicide map addition (#15024)
This commit is contained in:
committed by
Felix Lange
parent
20b818d206
commit
ff9a868232
@ -91,11 +91,6 @@ func (ch suicideChange) undo(s *StateDB) {
|
||||
if obj != nil {
|
||||
obj.suicided = ch.prev
|
||||
obj.setBalance(ch.prevbalance)
|
||||
// if the object wasn't suicided before, remove
|
||||
// it from the list of destructed objects as well.
|
||||
if !obj.suicided {
|
||||
delete(s.stateObjectsDestructed, *ch.account)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user