From cf1552ddf3e0afc8ee68b8a1b6281db30ff0791a Mon Sep 17 00:00:00 2001 From: stompesi Date: Thu, 25 Jan 2018 16:06:11 +0900 Subject: [PATCH] Remove duplicate code. --- miner/miner.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/miner/miner.go b/miner/miner.go index fec0a40f5a..f731335d6d 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -105,8 +105,7 @@ out: func (self *Miner) Start(coinbase common.Address) { atomic.StoreInt32(&self.shouldStart, 1) - self.worker.setEtherbase(coinbase) - self.coinbase = coinbase + SetEtherbase(coinbase) if atomic.LoadInt32(&self.canStart) == 0 { log.Info("Network syncing, will start miner afterwards")