aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go3
1 files changed, 1 insertions, 2 deletions
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
}