From b24f16fa532483e0714700d687f134fb373f2487 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Thu, 14 May 2015 03:39:07 +0200 Subject: Make read of ethash hashrate atomic and update ethash godep --- miner/miner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miner/miner.go') 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) { -- cgit