This commit is contained in:
Daniel Whitenack 2016-06-21 09:35:43 -05:00
parent 8d49a45008
commit 9cee10eb61
1 changed files with 2 additions and 0 deletions

View File

@ -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()