aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-04 00:56:36 +0800
committerobscuren <geffobscura@gmail.com>2015-03-04 00:56:36 +0800
commit40ff3cac3943ee672d818776fdd8235fc6684dca (patch)
treee32f82689b0c669d61688470af5e92c2eda44d34 /miner/miner.go
parent53b5a45856c5d4c307dc55b4ae1b46efd9471142 (diff)
parent6e50a1e9f59532671eaa2bb2f2081a67f659bd0d (diff)
downloadgo-tangerine-40ff3cac3943ee672d818776fdd8235fc6684dca.tar.gz
go-tangerine-40ff3cac3943ee672d818776fdd8235fc6684dca.tar.zst
go-tangerine-40ff3cac3943ee672d818776fdd8235fc6684dca.zip
merge
Diffstat (limited to 'miner/miner.go')
-rw-r--r--miner/miner.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/miner/miner.go b/miner/miner.go
index f207948a5..b60422a3a 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -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()
}