log selfdestructs balance revert

This commit is contained in:
Sina Mahmoodi 2024-08-27 08:46:51 +02:00
parent cf873c3767
commit 365b715b88
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ func (ch selfDestructChange) revert(s *StateDB) {
obj := s.getStateObject(*ch.account)
if obj != nil {
obj.selfDestructed = ch.prev
obj.setBalance(ch.prevbalance)
obj.setBalanceLogged(ch.prevbalance, tracing.BalanceChangeRevert)
}
}