Browse Source

don't join comms net

Signed-off-by: Matthew R. Kasun <[email protected]>
Matthew R. Kasun 3 years ago
parent
commit
2bbf779d45
1 changed files with 0 additions and 5 deletions
  1. 0 5
      netclient/command/commands.go

+ 0 - 5
netclient/command/commands.go

@@ -42,11 +42,6 @@ func JoinComms(cfg *config.ClientConfig) error {
 // Join - join command to run from cli
 func Join(cfg *config.ClientConfig, privateKey string) error {
 	var err error
-	//check if comms network exists
-	if err = JoinComms(cfg); err != nil {
-		return err
-	}
-
 	//join network
 	err = functions.JoinNetwork(cfg, privateKey, false)
 	if err != nil && !cfg.DebugOn {