waku/v2/peermanager/peer_discovery.go
Method PeerManager.DiscoverAndConnectToPeers
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (pm *PeerManager) DiscoverAndConnectToPeers(ctx context.Context, cluster uint16,
shard uint16, serviceProtocol protocol.ID, maxCount int) error {
Method PeerManager.discoverOnDemand
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (pm *PeerManager) discoverOnDemand(cluster uint16,
shard uint16, wakuProtocol protocol.ID, ctx context.Context, maxCount int) ([]service.PeerData, error) {