From 832edda709e2d6414e417e8e561b9cc83f8f09bb Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Wed, 24 Oct 2018 18:59:48 +0800 Subject: Rename geth -> gdex and fix Dockerfile --- cmd/swarm/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd/swarm/main.go') 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 } -- cgit