Skip to content

Commit 7c4bf8e

Browse files
chore: add type to codeRequestMetric (#1338)
1 parent 0b315e0 commit 7c4bf8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sync/client/stats/stats.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ func (m *messageMetric) UpdateRequestLatency(duration time.Duration) {
7676
}
7777

7878
type clientSyncerStats struct {
79-
leafMetrics map[message.NodeType]MessageMetric
80-
codeRequestMetric,
79+
leafMetrics map[message.NodeType]MessageMetric
80+
codeRequestMetric MessageMetric
8181
blockRequestMetric MessageMetric
8282
}
8383

0 commit comments

Comments
 (0)