diff options
author | Vitalik Buterin <v@buterin.com> | 2015-05-16 09:23:09 +0800 |
---|---|---|
committer | Vitalik Buterin <v@buterin.com> | 2015-05-16 09:23:09 +0800 |
commit | 61e8296bd82b4392e55e6707f37b7d1d1e897dd7 (patch) | |
tree | 2ff66dd64c961c020f0faefd5d082f02df8216e0 | |
parent | 4b2ee6c30c5c4cacda23db4b2d18db37868492b7 (diff) | |
download | go-tangerine-61e8296bd82b4392e55e6707f37b7d1d1e897dd7.tar go-tangerine-61e8296bd82b4392e55e6707f37b7d1d1e897dd7.tar.gz go-tangerine-61e8296bd82b4392e55e6707f37b7d1d1e897dd7.tar.bz2 go-tangerine-61e8296bd82b4392e55e6707f37b7d1d1e897dd7.tar.lz go-tangerine-61e8296bd82b4392e55e6707f37b7d1d1e897dd7.tar.xz go-tangerine-61e8296bd82b4392e55e6707f37b7d1d1e897dd7.tar.zst go-tangerine-61e8296bd82b4392e55e6707f37b7d1d1e897dd7.zip |
Adjust miner coinbase and not just miner worker coinbase
-rw-r--r-- | miner/miner.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/miner/miner.go b/miner/miner.go index 19d39a605..3f87e8151 100644 --- a/miner/miner.go +++ b/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)") |