OSDN Git Service

Dev (#148)
[bytom/bytom.git] / cmd / bytomd / commands / root.go
index e8971a5..9398867 100644 (file)
@@ -20,11 +20,6 @@ var RootCmd = &cobra.Command{
                        return err
                }
                config.SetRoot(config.RootDir)
-               if len(args) == 0 {
-                       cfg.EnsureRoot(config.RootDir, "mainnet")
-               } else {
-                       cfg.EnsureRoot(config.RootDir, args[0])
-               }
                return nil
        },
 }