waku/v2/dnsdisc/enr.go
Function RetrieveNodes
has 5 return statements (exceeds 4 allowed). Open
Open
func RetrieveNodes(ctx context.Context, url string, opts ...DNSDiscoveryOption) ([]DiscoveredNode, error) {
var discoveredNodes []DiscoveredNode
params := new(dnsDiscoveryParameters)
for _, opt := range opts {