Skip to content

Commit

Permalink
Merge pull request ethereum#394 from etclabscore/fix/snap-discovery-urls
Browse files Browse the repository at this point in the history
cmd/utils: add default snap discovery to config during setup
  • Loading branch information
meowsbits committed Jun 8, 2021
2 parents a5cced7 + 7e6e94a commit 08e2aae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -1866,6 +1866,7 @@ func SetDNSDiscoveryDefaults2(cfg *ethconfig.Config, url string) {
url = strings.Replace(url, "@all.", "@les.", 1)
}
cfg.EthDiscoveryURLs = []string{url}
cfg.SnapDiscoveryURLs = cfg.EthDiscoveryURLs
}

// SetDNSDiscoveryDefaults configures DNS discovery with the given URL if
Expand Down

0 comments on commit 08e2aae

Please sign in to comment.