Browse Source

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

Felix Lange 5 years ago
parent
commit
dbf6b8a797
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmd/utils/flags.go

+ 1 - 1
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"
 	}