aergoio/aergo

View on GitHub
pkg/trie/trie.go

Summary

Maintainability
A
45 mins
Test Coverage
A
90%

Method Trie.loadBatch has 7 return statements (exceeds 4 allowed).
Open

func (s *Trie) loadBatch(root []byte) ([][]byte, error) {
    var node Hash
    copy(node[:], root)

    s.db.liveMux.RLock()
Severity: Major
Found in pkg/trie/trie.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status