Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DarianShawn committed Mar 13, 2023
1 parent 4440033 commit be0d698
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions state/snapshot/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ func diffToDisk(bottom *diffLayer) *diskLayer {

// collect metrics
metrics.CounterInc(base.snapmetrics.flushAccountItemCount)
// whole data count
cleanAccountWriteSize += int64(len(data))
flushAccountSize += int64(len(data))

Expand Down Expand Up @@ -670,6 +671,7 @@ func diffToDisk(bottom *diffLayer) *diskLayer {

// collection metrics
metrics.CounterInc(base.snapmetrics.flushStorageItemCount)
// whole data count
flushStorageSize += int64(len(data))
}
}
Expand Down

0 comments on commit be0d698

Please sign in to comment.