all: finish integrating Go ethash, delete C++ vendor
This commit is contained in:
committed by
Felix Lange
parent
df72e20cc5
commit
b7d93500f1
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user