mobile: initial wrappers for mobile support

This commit is contained in:
Péter Szilágyi
2016-11-14 17:56:58 +02:00
parent d89ea3e6f9
commit 178da7c6a9
33 changed files with 2594 additions and 33 deletions
+2 -2
View File
@@ -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{}