waku-org/go-waku

View on GitHub
waku/v2/discv5/discover.go

Summary

Maintainability
A
45 mins
Test Coverage
B
82%

Function NewDiscoveryV5 has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

func NewDiscoveryV5(priv *ecdsa.PrivateKey, localnode *enode.LocalNode, peerConnector PeerConnector, reg prometheus.Registerer, log *zap.Logger, opts ...DiscoveryV5Option) (*DiscoveryV5, error) {
Severity: Minor
Found in waku/v2/discv5/discover.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status