cmd/utils: fix default DNS discovery configuration (#21124)

pull/21125/merge
Felix Lange 5 years ago committed by GitHub
parent befecc9fdf
commit dbf6b8a797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/utils/flags.go

@ -1616,7 +1616,7 @@ func setDNSDiscoveryDefaults(cfg *eth.Config, genesis common.Hash) {
return // already set through flags/config
}
protocol := "eth"
protocol := "all"
if cfg.SyncMode == downloader.LightSync {
protocol = "les"
}

Loading…
Cancel
Save