Fantom-foundation/go-lachesis

View on GitHub
cmd/lachesis/fake.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func parseFakeGen(s string) (num int, vaccs genesis.VAccounts, err error) {
    var i64 uint64

    parts := strings.SplitN(s, "/", 2)
    if len(parts) != 2 {
Severity: Major
Found in cmd/lachesis/fake.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status