comments
This commit is contained in:
parent
8d49a45008
commit
9cee10eb61
|
@ -40,6 +40,7 @@ func main() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// MakeNode create a geth node entity
|
||||||
func MakeNode(datadir string) *node.Node {
|
func MakeNode(datadir string) *node.Node {
|
||||||
|
|
||||||
set := flag.NewFlagSet("test", 0)
|
set := flag.NewFlagSet("test", 0)
|
||||||
|
@ -63,6 +64,7 @@ func MakeNode(datadir string) *node.Node {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// StartNode starts a geth node entity
|
||||||
func StartNode(currentNode *node.Node) {
|
func StartNode(currentNode *node.Node) {
|
||||||
utils.StartNode(currentNode)
|
utils.StartNode(currentNode)
|
||||||
currentNode.Wait()
|
currentNode.Wait()
|
||||||
|
|
Loading…
Reference in New Issue