diff --git a/p2p/discovery/backoff/backoff.go b/p2p/discovery/backoff/backoff.go index 242821ec19..bde2a70f70 100644 --- a/p2p/discovery/backoff/backoff.go +++ b/p2p/discovery/backoff/backoff.go @@ -26,7 +26,7 @@ type BackoffStrategy interface { // Jitter must return a duration between min and max. Min must be lower than, or equal to, max. type Jitter func(duration, min, max time.Duration, rng *rand.Rand) time.Duration -// FullJitter returns a random number uniformly chose from the range [min, boundedDur]. +// FullJitter returns a random number, uniformly chosen from the range [min, boundedDur]. // boundedDur is the duration bounded between min and max. func FullJitter(duration, min, max time.Duration, rng *rand.Rand) time.Duration { if duration <= min {