aergoio/aergo

View on GitHub
cmd/aergocli/cmd/name.go

Summary

Maintainability
A
35 mins
Test Coverage
F
31%

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

func execNameUpdate(cmd *cobra.Command, args []string) error {
    account, err := types.DecodeAddress(from)
    if err != nil {
        return fmt.Errorf("Wrong address in --from flag: %v", err.Error())
    }
Severity: Major
Found in cmd/aergocli/cmd/name.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status