diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-24 18:59:48 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:51 +0800 |
commit | 832edda709e2d6414e417e8e561b9cc83f8f09bb (patch) | |
tree | d797fb233f3fb6758b69d2550440cfad40765e5d /cmd/swarm/main.go | |
parent | d8b0b71610758cc7d218a012f27071937efff60e (diff) | |
download | dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.gz dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.zst dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.zip |
Rename geth -> gdex and fix Dockerfile
Diffstat (limited to 'cmd/swarm/main.go')
-rw-r--r-- | cmd/swarm/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go index 362c1717b..23d0a22e1 100644 --- a/cmd/swarm/main.go +++ b/cmd/swarm/main.go @@ -91,7 +91,7 @@ var defaultSubcommandHelp = cli.Command{ var defaultNodeConfig = node.DefaultConfig -// This init function sets defaults so cmd/swarm can run alongside geth. +// This init function sets defaults so cmd/swarm can run alongside gdex. func init() { sv.GitCommit = gitCommit defaultNodeConfig.Name = clientIdentifier @@ -275,9 +275,9 @@ func bzzd(ctx *cli.Context) error { //pss operates on ws cfg.WSModules = append(cfg.WSModules, "pss") - //geth only supports --datadir via command line + //gdex only supports --datadir via command line //in order to be consistent within swarm, if we pass --datadir via environment variable - //or via config file, we get the same directory for geth and swarm + //or via config file, we get the same directory for gdex and swarm if _, err := os.Stat(bzzconfig.Path); err == nil { cfg.DataDir = bzzconfig.Path } |