aergoio/aergo

View on GitHub
contract/enterprise/config.go

Summary

Maintainability
A
35 mins
Test Coverage
C
72%

Method Conf.Validate has 5 return statements (exceeds 4 allowed).
Open

func (c *Conf) Validate(key []byte, context *EnterpriseContext) error {
    if !c.On {
        return nil
    }
    strKey := strings.ToUpper(string(key))
Severity: Major
Found in contract/enterprise/config.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status