waku-org/go-waku

View on GitHub
examples/rln/main.go

Summary

Maintainability
A
35 mins
Test Coverage

Function main has 5 return statements (exceeds 4 allowed).
Open

func main() {
    hostAddr, _ := net.ResolveTCPAddr("tcp", "0.0.0.0:0")
    key, err := randomHex(32)
    if err != nil {
        log.Error("Could not generate random key", zap.Error(err))
Severity: Major
Found in examples/rln/main.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status