diff options
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/eth/backend.go b/eth/backend.go index 18900c91e..dc16ba4cf 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -498,18 +498,6 @@ func (s *Ethereum) ResetWithGenesisBlock(gb *types.Block) { s.blockchain.ResetWithGenesisBlock(gb) } -func (s *Ethereum) StartMining(threads int) error { - eb, err := s.Etherbase() - if err != nil { - err = fmt.Errorf("Cannot start mining without etherbase address: %v", err) - glog.V(logger.Error).Infoln(err) - return err - } - - go s.miner.Start(eb, threads) - return nil -} - func (s *Ethereum) Etherbase() (eb common.Address, err error) { eb = s.etherbase if (eb == common.Address{}) { |