mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
remove bootnodes for ETH mainnet
This commit is contained in:
parent
7c48f8ec6d
commit
d281cfb854
2 changed files with 2 additions and 5 deletions
|
|
@ -148,11 +148,8 @@ func makeConfigNode(ctx *cli.Context) (*node.Node, XDCConfig) {
|
|||
}
|
||||
}
|
||||
cfg.Account.Passwords = passwords
|
||||
//Apply Bootnodes
|
||||
applyValues(cfg.Bootnodes.Mainnet, ¶ms.MainnetBootnodes)
|
||||
applyValues(cfg.Bootnodes.Testnet, ¶ms.TestnetBootnodes)
|
||||
|
||||
// Apply flags.
|
||||
// Apply flags.
|
||||
utils.SetNodeConfig(ctx, &cfg.Node)
|
||||
stack, err := node.New(&cfg.Node)
|
||||
if err != nil {
|
||||
|
|
|
|||
|
|
@ -587,7 +587,7 @@ func setNodeUserIdent(ctx *cli.Context, cfg *node.Config) {
|
|||
// setBootstrapNodes creates a list of bootstrap nodes from the command line
|
||||
// flags, reverting to pre-configured ones if none have been specified.
|
||||
func setBootstrapNodes(ctx *cli.Context, cfg *p2p.Config) {
|
||||
urls := params.MainnetBootnodes
|
||||
urls := []string{}
|
||||
switch {
|
||||
case ctx.GlobalIsSet(BootnodesFlag.Name) || ctx.GlobalIsSet(BootnodesV4Flag.Name):
|
||||
if ctx.GlobalIsSet(BootnodesV4Flag.Name) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue