Commit fe64a13c authored by Vitalik Buterin's avatar Vitalik Buterin Committed by obscuren

Adjust miner coinbase and not just miner worker coinbase

parent 741fa8ca
......@@ -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)")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment