aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-11-14 19:44:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-11-15 00:00:14 +0800
commitdfe79cc7845d94d14c2bc091c7eeac082f6b1e90 (patch)
tree18d9c033f86af4eda374261e4c0a165ac2c733c0 /cmd/utils/flags.go
parent4a439c2359991bdc49463ae66da11da895cc6eb7 (diff)
downloaddexon-dfe79cc7845d94d14c2bc091c7eeac082f6b1e90.tar.gz
dexon-dfe79cc7845d94d14c2bc091c7eeac082f6b1e90.tar.zst
dexon-dfe79cc7845d94d14c2bc091c7eeac082f6b1e90.zip
cmd/utils, mobile: place bootnodes in LGPL packages
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r--cmd/utils/flags.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 0b18d9f79..1ba905657 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -488,9 +488,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 params.TestnetBootnodes
}
- return MainnetBootnodes
+ return params.MainnetBootnodes
}
// Otherwise parse and use the CLI bootstrap nodes
bootnodes := []*discover.Node{}
@@ -511,7 +511,7 @@ func MakeBootstrapNodes(ctx *cli.Context) []*discover.Node {
func MakeBootstrapNodesV5(ctx *cli.Context) []*discv5.Node {
// Return pre-configured nodes if none were manually requested
if !ctx.GlobalIsSet(BootnodesFlag.Name) {
- return DiscoveryV5Bootnodes
+ return params.DiscoveryV5Bootnodes
}
// Otherwise parse and use the CLI bootstrap nodes
bootnodes := []*discv5.Node{}