waku-org/go-waku

View on GitHub
waku/v2/timesource/ntp.go

Summary

Maintainability
A
45 mins
Test Coverage
C
76%

Function computeOffset has 7 return statements (exceeds 4 allowed).
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))
Severity: Major
Found in waku/v2/timesource/ntp.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status