core/state: revert metro suicide map addition (#15024)

This commit is contained in:
Péter Szilágyi
2017-08-24 13:42:00 +03:00
committed by Felix Lange
parent 20b818d206
commit ff9a868232
4 changed files with 28 additions and 49 deletions

View File

@ -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)
}
}
}