waku-org/go-waku

View on GitHub
waku/v2/peermanager/topic_event_handler.go

Summary

Maintainability
A
45 mins
Test Coverage
D
65%

Avoid deeply nested control flow statements.
Open

                if err := pm.metadata.DisconnectPeerOnShardMismatch(ctx, peerEvt.PeerID); err != nil {
                    return
                }
Severity: Major
Found in waku/v2/peermanager/topic_event_handler.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status