Skip to content

Commit

Permalink
avoid overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
moshe-blox committed Oct 27, 2024
1 parent 1f314ef commit 50c3aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/discovery/dv5_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (dvs *DiscV5Service) Bootstrap(logger *zap.Logger, handler HandleNewPeer) e
// Log every 10th skipped peer.
// TODO: remove once we've merged https://github.com/ssvlabs/ssv/pull/1803
const logFrequency = 10
var skippedPeers = 0
var skippedPeers uint64 = 0

dvs.discover(dvs.ctx, func(e PeerEvent) {
logger := logger.With(
Expand Down

0 comments on commit 50c3aa9

Please sign in to comment.