diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go index 360020b77b..a136885012 100644 --- a/cmd/swarm/main.go +++ b/cmd/swarm/main.go @@ -405,9 +405,9 @@ func bzzd(ctx *cli.Context) error { } cfg := defaultNodeConfig - //geth only supports --datadir via command line + //XDC 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 XDC and swarm if _, err := os.Stat(bzzconfig.Path); err == nil { cfg.DataDir = bzzconfig.Path }