waku-org/go-waku

View on GitHub
waku/v2/dnsdisc/enr.go

Summary

Maintainability
A
35 mins
Test Coverage
B
83%

Function RetrieveNodes has 5 return statements (exceeds 4 allowed).
Open

func RetrieveNodes(ctx context.Context, url string, opts ...DNSDiscoveryOption) ([]DiscoveredNode, error) {
    var discoveredNodes []DiscoveredNode

    params := new(dnsDiscoveryParameters)
    for _, opt := range opts {
Severity: Major
Found in waku/v2/dnsdisc/enr.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status