aergoio/aergo

View on GitHub
types/genesis.go

Summary

Maintainability
A
35 mins
Test Coverage
F
37%

Method ChainID.Read has 5 return statements (exceeds 4 allowed).
Open

func (cid *ChainID) Read(data []byte) error {
    r := bytes.NewBuffer(data)

    // warning: when any field added to ChainID, the corresponding
    // deserialization code must be written here.
Severity: Major
Found in types/genesis.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status