diff options
Diffstat (limited to 'miner/miner.go')
-rw-r--r-- | miner/miner.go | 4 |
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 } |