cmd/aergocli/cmd/name.go
Function execNameUpdate
has 5 return statements (exceeds 4 allowed). Open
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())
}