aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-05-14 09:39:07 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-05-14 10:05:49 +0800
commitb24f16fa532483e0714700d687f134fb373f2487 (patch)
tree2e052986e8d9696d890c9186d494ecfb1157d558 /miner/miner.go
parentf7fdb4dfbe1a0851b6fb2970b0a6b11fd31273d6 (diff)
downloadgo-tangerine-b24f16fa532483e0714700d687f134fb373f2487.tar
go-tangerine-b24f16fa532483e0714700d687f134fb373f2487.tar.gz
go-tangerine-b24f16fa532483e0714700d687f134fb373f2487.tar.bz2
go-tangerine-b24f16fa532483e0714700d687f134fb373f2487.tar.lz
go-tangerine-b24f16fa532483e0714700d687f134fb373f2487.tar.xz
go-tangerine-b24f16fa532483e0714700d687f134fb373f2487.tar.zst
go-tangerine-b24f16fa532483e0714700d687f134fb373f2487.zip
Make read of ethash hashrate atomic and update ethash godep
Diffstat (limited to 'miner/miner.go')
-rw-r--r--miner/miner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/miner.go b/miner/miner.go
index 09342e250..8143fcef7 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -70,7 +70,7 @@ func (self *Miner) Register(agent Agent) {
}
func (self *Miner) HashRate() int64 {
- return self.worker.HashRate()
+ return self.pow.GetHashrate()
}
func (self *Miner) SetExtra(extra []byte) {