OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modify params (#269)
[bytom/vapor.git]
/
cmd
/
vapord
/
commands
/
init.go
diff --git
a/cmd/vapord/commands/init.go
b/cmd/vapord/commands/init.go
index
4003047
..
115c54f
100644
(file)
--- a/
cmd/vapord/commands/init.go
+++ b/
cmd/vapord/commands/init.go
@@
-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")