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

This commit is contained in:
Felix Lange authored and GitHub committed 2020-05-25 19:50:36 +02:00
1 parent befecc9fdf
commit dbf6b8a797
1 file changed
+1 -1
+1 -1
View File
@@ -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"
}