diff options
author | Elad <theman@elad.im> | 2018-08-20 20:09:50 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-20 20:09:50 +0800 |
commit | c4078fc80527b2cf0c2fd3e8771e9db06a597152 (patch) | |
tree | 7dfaaf59e0ee63a9dbbf54c2bdddd0c4a564e1b1 /cmd/swarm/config.go | |
parent | d3488c1affee6843d75db77b36f504c73e5e02e7 (diff) | |
download | dexon-c4078fc80527b2cf0c2fd3e8771e9db06a597152.tar dexon-c4078fc80527b2cf0c2fd3e8771e9db06a597152.tar.gz dexon-c4078fc80527b2cf0c2fd3e8771e9db06a597152.tar.bz2 dexon-c4078fc80527b2cf0c2fd3e8771e9db06a597152.tar.lz dexon-c4078fc80527b2cf0c2fd3e8771e9db06a597152.tar.xz dexon-c4078fc80527b2cf0c2fd3e8771e9db06a597152.tar.zst dexon-c4078fc80527b2cf0c2fd3e8771e9db06a597152.zip |
cmd/swarm: added swarm bootnodes (#17414)
Diffstat (limited to 'cmd/swarm/config.go')
-rw-r--r-- | cmd/swarm/config.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/swarm/config.go b/cmd/swarm/config.go index 1183f8bc8..ae4b5816e 100644 --- a/cmd/swarm/config.go +++ b/cmd/swarm/config.go @@ -233,10 +233,6 @@ func cmdLineOverride(currentConfig *bzzapi.Config, ctx *cli.Context) *bzzapi.Con currentConfig.Cors = cors } - if ctx.GlobalIsSet(utils.BootnodesFlag.Name) { - currentConfig.BootNodes = ctx.GlobalString(utils.BootnodesFlag.Name) - } - if storePath := ctx.GlobalString(SwarmStorePath.Name); storePath != "" { currentConfig.LocalStoreParams.ChunkDbPath = storePath } @@ -334,10 +330,6 @@ func envVarsOverride(currentConfig *bzzapi.Config) (config *bzzapi.Config) { currentConfig.Cors = cors } - if bootnodes := os.Getenv(SWARM_ENV_BOOTNODES); bootnodes != "" { - currentConfig.BootNodes = bootnodes - } - return currentConfig } |