提交 be843959 编写于 作者: Z zelig

backend: start miner in its go routine (no wait to generate DAG)

上级 6512b23b
......@@ -322,10 +322,9 @@ func (s *Ethereum) StartMining() error {
err = fmt.Errorf("Cannot start mining without etherbase address: %v", err)
glog.V(logger.Error).Infoln(err)
return err
}
s.miner.Start(eb)
go s.miner.Start(eb)
return nil
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册