waku-org/go-waku

View on GitHub
waku/v2/api/publish/message_sender.go

Summary

Maintainability
A
35 mins
Test Coverage
F
52%

Method MessageSender.Send has 5 return statements (exceeds 4 allowed).
Open

func (ms *MessageSender) Send(req *Request) error {
    logger := ms.logger.With(
        zap.Stringer("envelopeHash", req.envelope.Hash()),
        zap.String("pubsubTopic", req.envelope.PubsubTopic()),
        zap.String("contentTopic", req.envelope.Message().ContentTopic),
Severity: Major
Found in waku/v2/api/publish/message_sender.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status