OSDN Git Service

modify params (#269)
[bytom/vapor.git] / cmd / vapord / commands / init.go
index 4003047..115c54f 100644 (file)
@@ -32,7 +32,9 @@ func initFiles(cmd *cobra.Command, args []string) {
        }
 
        switch config.ChainID {
-       case "vapor":
+       case "mainnet":
+               cfg.EnsureRoot(config.RootDir, config.ChainID)
+       case "testnet":
                cfg.EnsureRoot(config.RootDir, config.ChainID)
        default:
                cfg.EnsureRoot(config.RootDir, "solonet")