Skip to content

Commit

Permalink
Call disco
Browse files Browse the repository at this point in the history
  • Loading branch information
alanorwick committed Oct 6, 2023
1 parent 313f7c6 commit 2d53347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
// SetDNSDiscoveryDefaults configures DNS discovery with the given URL if
// no URLs are set.
func SetDNSDiscoveryDefaults(cfg *ethconfig.Config, genesis common.Hash) {
if cfg.EthDiscoveryURLs != nil {
if cfg.EthDiscoveryURLs != nil && len(cfg.EthDiscoveryURLs) > 0 {
return // already set through flags/config
}
protocol := "all"
Expand Down

0 comments on commit 2d53347

Please sign in to comment.