mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
swarm/config: Fixed variable naming
This commit is contained in:
parent
bb33951e7e
commit
1fec621cc8
1 changed files with 2 additions and 2 deletions
|
|
@ -308,8 +308,8 @@ func envVarsOverride(currentConfig *bzzapi.Config) (config *bzzapi.Config) {
|
|||
}
|
||||
}
|
||||
|
||||
if lightnodeenable := os.Getenv(SWARM_ENV_LIGHT_NODE_ENABLE); lightnodeenable != "" {
|
||||
if lightnode, err := strconv.ParseBool(lightnodeenable); err != nil {
|
||||
if lne := os.Getenv(SWARM_ENV_LIGHT_NODE_ENABLE); lne != "" {
|
||||
if lightnode, err := strconv.ParseBool(lne); err != nil {
|
||||
currentConfig.LightNodeEnabled = lightnode
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue