logs, unused funcs, cleanup

This commit is contained in:
0xdcarns
2022-01-02 10:30:07 -05:00
parent 314fc3057e
commit 5448042b9a
9 changed files with 50 additions and 79 deletions

View File

@@ -21,11 +21,11 @@ func GetCommands(cliFlags []cli.Flag) []*cli.Command {
return err
}
if cfg.Network == "all" {
err = errors.New("No network provided.")
err = errors.New("no network provided")
return err
}
if cfg.Server.GRPCAddress == "" {
err = errors.New("No server address provided.")
err = errors.New("no server address provided")
return err
}
err = command.Join(cfg, pvtKey)