From 46de04d42cd3292bad26133a1d00905e342773dd 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 8b8af0c2b..fce5a5ce9 100644 --- a/cmd/swarm/main.go +++ b/cmd/swarm/main.go @@ -87,7 +87,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() { defaultNodeConfig.Name = clientIdentifier defaultNodeConfig.Version = sv.VersionWithCommit(gitCommit) @@ -261,9 +261,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 v1.2.3