mesg-foundation/core

View on GitHub
app/export.go

Summary

Maintainability
A
2 hrs
Test Coverage

Method NewApp.prepForZeroHeightGenesis has 83 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (app *NewApp) prepForZeroHeightGenesis(ctx sdk.Context, jailWhiteList []string) {
    applyWhiteList := false

    //Check if there is a whitelist
    if len(jailWhiteList) > 0 {
Severity: Major
Found in app/export.go - About 2 hrs to fix

    Your code does not pass gofmt in 1 place. Go fmt your code!
    Open

    package app
    Severity: Minor
    Found in app/export.go by gofmt

    There are no issues that match your filters.

    Category
    Status