Skip to content

Commit

Permalink
chore: fix AccountCommits metric calculate
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoieh committed Nov 29, 2024
1 parent d658b77 commit b36b338
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,6 @@ func (s *StateDB) Commit(block uint64, deleteEmptyObjects bool) (common.Hash, er

if metrics.EnabledExpensive {
defer func(start time.Time) {
s.AccountCommits += time.Since(start)
accountUpdatedMeter.Mark(int64(s.AccountUpdated))
storageUpdatedMeter.Mark(int64(s.StorageUpdated))
accountDeletedMeter.Mark(int64(s.AccountDeleted))
Expand Down

0 comments on commit b36b338

Please sign in to comment.