mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-13 07:16:38 +00:00
cmd/utils: fix default DNS discovery configuration (#21124)
This commit is contained in:
parent
befecc9fdf
commit
dbf6b8a797
@ -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…
x
Reference in New Issue
Block a user