good morning!!!!

Skip to content
Snippets Groups Projects
Commit f1ebad25 authored by Felix Lange's avatar Felix Lange
Browse files

eth: don't warn if no BootNodes are specified

parent 9915d3c3
No related branches found
No related tags found
Loading
......@@ -46,6 +46,9 @@ type Config struct {
func (cfg *Config) parseBootNodes() []*discover.Node {
var ns []*discover.Node
for _, url := range strings.Split(cfg.BootNodes, " ") {
if url == "" {
continue
}
n, err := discover.ParseNode(url)
if err != nil {
logger.Errorf("Bootstrap URL %s: %v\n", url, err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment