aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
Diffstat (limited to 'miner/miner.go')
-rw-r--r--miner/miner.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/miner/miner.go b/miner/miner.go
index a91e1ef6b..dc0591b9a 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -164,7 +164,9 @@ func (self *Miner) HashRate() (tot int64) {
// aspects of the worker/locking up agents so we can get an accurate
// hashrate?
for agent := range self.worker.agents {
- tot += agent.GetHashRate()
+ if _, ok := agent.(*CpuAgent); !ok {
+ tot += agent.GetHashRate()
+ }
}
return
}