From 2d53347721f72b8397ca700c7e574aac24be90c0 Mon Sep 17 00:00:00 2001 From: Alan Orwick Date: Thu, 5 Oct 2023 14:21:00 -0500 Subject: [PATCH] Call disco --- cmd/utils/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 79427f01ca..fc229266d7 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -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"