aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
Diffstat (limited to 'miner')
-rw-r--r--miner/miner.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/miner/miner.go b/miner/miner.go
index fec0a40f5..d9256e978 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")