Skip to content

Commit

Permalink
fix metric
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Nov 21, 2023
1 parent 37b8dca commit ae55ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snow/consensus/snowman/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func (m *metrics) Rejected(
m.blockSizeRejectedSum.Add(float64(blockSize))
m.timesVerifiedRejectedSum.Add(float64(timesVerified))

if timesVerified > 0 {
if timesVerified == 0 {
m.unverifiedBlocksRejected.Inc()
}
}
Expand Down

0 comments on commit ae55ed5

Please sign in to comment.