mobile: initial wrappers for mobile support
This commit is contained in:
@ -487,9 +487,9 @@ func MakeBootstrapNodes(ctx *cli.Context) []*discover.Node {
|
||||
// Return pre-configured nodes if none were manually requested
|
||||
if !ctx.GlobalIsSet(BootnodesFlag.Name) {
|
||||
if ctx.GlobalBool(TestNetFlag.Name) {
|
||||
return TestNetBootNodes
|
||||
return TestnetBootnodes
|
||||
}
|
||||
return FrontierBootNodes
|
||||
return MainnetBootnodes
|
||||
}
|
||||
// Otherwise parse and use the CLI bootstrap nodes
|
||||
bootnodes := []*discover.Node{}
|
||||
|
Reference in New Issue
Block a user