waku/v2/timesource/ntp.go
Function computeOffset
has 7 return statements (exceeds 4 allowed). Open
Open
func computeOffset(timeQuery ntpQuery, servers []string, allowedFailures int) (time.Duration, error) {
if len(servers) == 0 {
return 0, nil
}
responses := make(chan queryResponse, len(servers))