mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
cmd/utils: add regular v5 bootnodes too in rinkeby light mode
This commit is contained in:
parent
42628ba7ed
commit
4cd88af033
1 changed files with 1 additions and 1 deletions
|
|
@ -626,7 +626,7 @@ func setBootstrapNodesV5(ctx *cli.Context, cfg *p2p.Config) {
|
||||||
urls = strings.Split(ctx.GlobalString(BootnodesFlag.Name), ",")
|
urls = strings.Split(ctx.GlobalString(BootnodesFlag.Name), ",")
|
||||||
}
|
}
|
||||||
case ctx.GlobalBool(RinkebyFlag.Name):
|
case ctx.GlobalBool(RinkebyFlag.Name):
|
||||||
urls = params.RinkebyBootnodes
|
urls = append(urls, params.RinkebyBootnodes...)
|
||||||
case cfg.BootstrapNodesV5 != nil:
|
case cfg.BootstrapNodesV5 != nil:
|
||||||
return // already set, don't apply defaults.
|
return // already set, don't apply defaults.
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue