Fantom-foundation/go-lachesis

View on GitHub
topicsdb/topicsdb.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Index.Push has 5 return statements (exceeds 4 allowed).
Open

func (tt *Index) Push(recs ...*types.Log) error {
    for _, rec := range recs {
        if len(rec.Topics) > MaxCount {
            return ErrTooManyTopics
        }
Severity: Major
Found in topicsdb/topicsdb.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status