Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
fix statedb.Finalize()
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush committed Feb 29, 2024
1 parent 7845c51 commit 5ac33b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ func (s *StateDB) Finalise(deleteEmptyObjects bool) {
_, wasDirty := s.stateObjectsDirty[addr]
s.multiTxSnapshotStack.UpdatePendingStatus(addr, wasPending, wasDirty)
}
obj.created = false
s.stateObjectsPending[addr] = struct{}{}
s.stateObjectsDirty[addr] = struct{}{}

Expand Down

0 comments on commit 5ac33b5

Please sign in to comment.