library/filter.go
Function FilterUnsubscribe
has 7 return statements (exceeds 4 allowed). Open
Open
func FilterUnsubscribe(instance *WakuInstance, filterJSON string, peerID string, ms int) error {
cf, err := toContentFilter(filterJSON)
if err != nil {
return err
}
Function FilterSubscribe
has 5 return statements (exceeds 4 allowed). Open
Open
func FilterSubscribe(instance *WakuInstance, filterJSON string, peerID string, ms int) (string, error) {
cf, err := toContentFilter(filterJSON)
if err != nil {
return "", err
}