waku-org/go-waku

View on GitHub
waku/v2/protocol/legacy_store/waku_store_protocol.go

Summary

Maintainability
A
35 mins
Test Coverage
B
83%

Method WakuStore.Resume has 5 return statements (exceeds 4 allowed).
Open

func (store *WakuStore) Resume(ctx context.Context, pubsubTopic string, peerList []peer.ID) (int, error) {
    if !store.started {
        return 0, errors.New("can't resume: store has not started")
    }

Severity: Major
Found in waku/v2/protocol/legacy_store/waku_store_protocol.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status