waku-org/go-waku

View on GitHub
waku/v2/protocol/noise/qr.go

Summary

Maintainability
A
45 mins
Test Coverage
C
76%

Function StringToQR has 7 return statements (exceeds 4 allowed).
Open

func StringToQR(qrString string) (QR, error) {
    values := strings.Split(qrString, ":")
    if len(values) != 5 {
        return QR{}, errors.New("invalid qr string")
    }
Severity: Major
Found in waku/v2/protocol/noise/qr.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status