Report debug hash rate

This commit is contained in:
obscuren
2015-02-28 23:09:49 +01:00
parent fdf939a6f9
commit 65cad14f9b
2 changed files with 15 additions and 6 deletions

View File

@ -52,10 +52,5 @@ func (self *Miner) Stop() {
}
func (self *Miner) HashRate() int64 {
var tot int64
for _, agent := range self.worker.agents {
tot += agent.Pow().GetHashrate()
}
return tot
return self.worker.HashRate()
}