good morning!!!!

Skip to content
Snippets Groups Projects
Commit 62dc5307 authored by Maximilian Meister's avatar Maximilian Meister
Browse files

cmd/utils: bootstrap nodes in config file were not respected

parent e4c9fd29
No related branches found
No related tags found
No related merge requests found
......@@ -584,6 +584,8 @@ func setBootstrapNodes(ctx *cli.Context, cfg *p2p.Config) {
urls = params.TestnetBootnodes
case ctx.GlobalBool(RinkebyFlag.Name):
urls = params.RinkebyBootnodes
case cfg.BootstrapNodes != nil:
return // already set, don't apply defaults.
}
cfg.BootstrapNodes = make([]*discover.Node, 0, len(urls))
......
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