|
|
@ -804,7 +804,7 @@ func setBootstrapNodes(ctx *cli.Context, cfg *p2p.Config) { |
|
|
|
case ctx.GlobalBool(GoerliFlag.Name): |
|
|
|
case ctx.GlobalBool(GoerliFlag.Name): |
|
|
|
urls = params.GoerliBootnodes |
|
|
|
urls = params.GoerliBootnodes |
|
|
|
case ctx.GlobalBool(YoloV2Flag.Name): |
|
|
|
case ctx.GlobalBool(YoloV2Flag.Name): |
|
|
|
urls = params.YoloV1Bootnodes |
|
|
|
urls = params.YoloV2Bootnodes |
|
|
|
case cfg.BootstrapNodes != nil: |
|
|
|
case cfg.BootstrapNodes != nil: |
|
|
|
return // already set, don't apply defaults.
|
|
|
|
return // already set, don't apply defaults.
|
|
|
|
} |
|
|
|
} |
|
|
@ -840,7 +840,7 @@ func setBootstrapNodesV5(ctx *cli.Context, cfg *p2p.Config) { |
|
|
|
case ctx.GlobalBool(GoerliFlag.Name): |
|
|
|
case ctx.GlobalBool(GoerliFlag.Name): |
|
|
|
urls = params.GoerliBootnodes |
|
|
|
urls = params.GoerliBootnodes |
|
|
|
case ctx.GlobalBool(YoloV2Flag.Name): |
|
|
|
case ctx.GlobalBool(YoloV2Flag.Name): |
|
|
|
urls = params.YoloV1Bootnodes |
|
|
|
urls = params.YoloV2Bootnodes |
|
|
|
case cfg.BootstrapNodesV5 != nil: |
|
|
|
case cfg.BootstrapNodesV5 != nil: |
|
|
|
return // already set, don't apply defaults.
|
|
|
|
return // already set, don't apply defaults.
|
|
|
|
} |
|
|
|
} |
|
|
|