Commit 3b0bb907 authored by vicotor's avatar vicotor

fix bug

parent 3991626d
......@@ -50,7 +50,7 @@ func (n *Node) Sign(hash []byte) ([]byte, error) {
}
func (n *Node) Start() error {
n.registry.Start()
go n.registry.Start()
if err := n.apiStart(); err != nil {
return err
}
......@@ -74,6 +74,7 @@ func (n *Node) apiStart() error {
log.WithError(err).Error("failed to serve apiserver")
return err
}
log.Info("api started")
return nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment