Unverified Commit dbf6b8a7 authored by Felix Lange's avatar Felix Lange Committed by GitHub

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

parent befecc9f
......@@ -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"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment