Skip to content

Commit

Permalink
log selfdestructs balance revert
Browse files Browse the repository at this point in the history
  • Loading branch information
s1na committed Aug 27, 2024
1 parent cf873c3 commit 365b715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state/journal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 365b715

Please sign in to comment.