From be843959cbc294ba8d75f66e492386fb1b7282df Mon Sep 17 00:00:00 2001 From: zelig Date: Wed, 22 Apr 2015 01:35:16 +0100 Subject: backend: start miner in its go routine (no wait to generate DAG) --- eth/backend.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'eth') diff --git a/eth/backend.go b/eth/backend.go index 356e7fd1a..7c1d7d617 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -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 } -- cgit