waku-org/go-waku

View on GitHub
waku/v2/protocol/pubsub_topic.go

Summary

Maintainability
A
45 mins
Test Coverage
B
80%

Method StaticShardingPubsubTopic.Parse has 7 return statements (exceeds 4 allowed).
Open

func (s *StaticShardingPubsubTopic) Parse(topic string) error {
    if !strings.HasPrefix(topic, StaticShardingPubsubTopicPrefix) {
        return ErrInvalidShardedTopicPrefix
    }

Severity: Major
Found in waku/v2/protocol/pubsub_topic.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status