Adjust miner coinbase and not just miner worker coinbase

release/1.0.1
Vitalik Buterin 10 years ago committed by obscuren
parent 741fa8ca9c
commit fe64a13cea
  1. 1
      miner/miner.go

@ -75,6 +75,7 @@ func (self *Miner) Start(coinbase common.Address, threads int) {
atomic.StoreInt32(&self.shouldStart, 1)
self.threads = threads
self.worker.coinbase = coinbase
self.coinbase = coinbase
if atomic.LoadInt32(&self.canStart) == 0 {
glog.V(logger.Info).Infoln("Can not start mining operation due to network sync (starts when finished)")

Loading…
Cancel
Save