forked from Silverfish/proton-bridge
chore: fix linter issues.
This commit is contained in:
@ -31,8 +31,8 @@ type CoolDownProvider interface {
|
||||
Reset()
|
||||
}
|
||||
|
||||
func jitter(max int) time.Duration { //nolint:predeclared
|
||||
return time.Duration(rand.Intn(max)) * time.Second //nolint:gosec
|
||||
func jitter(maxValue int) time.Duration {
|
||||
return time.Duration(rand.Intn(maxValue)) * time.Second //nolint:gosec
|
||||
}
|
||||
|
||||
type ExpCoolDown struct {
|
||||
|
||||
Reference in New Issue
Block a user