removed unneccesary check

This commit is contained in:
0xdcarns
2022-03-24 11:31:07 -04:00
parent 30a40aaed6
commit fc5fc3d381
2 changed files with 6 additions and 3 deletions
-3
View File
@@ -167,9 +167,6 @@ func ReplaceWithBackup(network string) error {
// GetCLIConfig - gets the cli flags as a config
func GetCLIConfig(c *cli.Context) (ClientConfig, string, error) {
var cfg ClientConfig
if c.String("version") != "" {
return cfg, c.String("version"), nil
}
if c.String("token") != "" {
tokenbytes, err := base64.StdEncoding.DecodeString(c.String("token"))
if err != nil {