This commit is contained in:
obscuren
2015-03-03 17:56:36 +01:00
15 changed files with 169 additions and 209 deletions

View File

@ -55,10 +55,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()
}