OSDN Git Service
(root)
/
bytom
/
bytom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Dev (#148)
[bytom/bytom.git]
/
cmd
/
bytomd
/
commands
/
root.go
diff --git
a/cmd/bytomd/commands/root.go
b/cmd/bytomd/commands/root.go
index
e8971a5
..
9398867
100644
(file)
--- a/
cmd/bytomd/commands/root.go
+++ b/
cmd/bytomd/commands/root.go
@@
-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
},
}