diff options
author | Vitalik Buterin <v@buterin.com> | 2015-05-16 09:23:09 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-16 18:56:06 +0800 |
commit | fe64a13cea19556658971189024b5df98b45d4b7 (patch) | |
tree | c8c50ca37f8be91a3a7e536c6e986bafb6208b92 /miner | |
parent | 741fa8ca9cf5981805af16d5d9fc9adc31400320 (diff) | |
download | go-tangerine-fe64a13cea19556658971189024b5df98b45d4b7.tar go-tangerine-fe64a13cea19556658971189024b5df98b45d4b7.tar.gz go-tangerine-fe64a13cea19556658971189024b5df98b45d4b7.tar.bz2 go-tangerine-fe64a13cea19556658971189024b5df98b45d4b7.tar.lz go-tangerine-fe64a13cea19556658971189024b5df98b45d4b7.tar.xz go-tangerine-fe64a13cea19556658971189024b5df98b45d4b7.tar.zst go-tangerine-fe64a13cea19556658971189024b5df98b45d4b7.zip |
Adjust miner coinbase and not just miner worker coinbase
Diffstat (limited to 'miner')
-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)") |