Fixed all typos on bootstrap spelling (#202)
Changed all typos on bootstrap spelling from "bootstap" to "bootstrap". For example in function makeBootstrapNodes, line 326 now reads: var bootstrapNodes []*discover.Node
This commit is contained in:
parent
444a2d93b7
commit
c274cf5222
|
@ -323,22 +323,22 @@ func makeBootstrapNodes() []*discover.Node {
|
||||||
// on mobile client we deliberately keep this list empty
|
// on mobile client we deliberately keep this list empty
|
||||||
enodes := []string{}
|
enodes := []string{}
|
||||||
|
|
||||||
var bootstapNodes []*discover.Node
|
var bootstrapNodes []*discover.Node
|
||||||
for _, enode := range enodes {
|
for _, enode := range enodes {
|
||||||
bootstapNodes = append(bootstapNodes, discover.MustParseNode(enode))
|
bootstrapNodes = append(bootstrapNodes, discover.MustParseNode(enode))
|
||||||
}
|
}
|
||||||
|
|
||||||
return bootstapNodes
|
return bootstrapNodes
|
||||||
}
|
}
|
||||||
|
|
||||||
// makeBootstrapNodesV5 returns default (hence bootstrap) list of peers
|
// makeBootstrapNodesV5 returns default (hence bootstrap) list of peers
|
||||||
func makeBootstrapNodesV5() []*discv5.Node {
|
func makeBootstrapNodesV5() []*discv5.Node {
|
||||||
enodes := gethparams.DiscoveryV5Bootnodes
|
enodes := gethparams.DiscoveryV5Bootnodes
|
||||||
|
|
||||||
var bootstapNodes []*discv5.Node
|
var bootstrapNodes []*discv5.Node
|
||||||
for _, enode := range enodes {
|
for _, enode := range enodes {
|
||||||
bootstapNodes = append(bootstapNodes, discv5.MustParseNode(enode))
|
bootstrapNodes = append(bootstrapNodes, discv5.MustParseNode(enode))
|
||||||
}
|
}
|
||||||
|
|
||||||
return bootstapNodes
|
return bootstrapNodes
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue