From fe6cf00f480aa6347b8d55079cbe6c473482ea27 Mon Sep 17 00:00:00 2001 From: stompesi Date: Fri, 16 Mar 2018 21:13:52 +0900 Subject: [PATCH] miner: remove duplicated code (#15968) --- miner/miner.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/miner/miner.go b/miner/miner.go index fec0a40f5a..d9256e9787 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 + self.SetEtherbase(coinbase) if atomic.LoadInt32(&self.canStart) == 0 { log.Info("Network syncing, will start miner afterwards")