aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
Diffstat (limited to 'miner/miner.go')
-rw-r--r--miner/miner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/miner.go b/miner/miner.go
index 09342e250..8143fcef7 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -70,7 +70,7 @@ func (self *Miner) Register(agent Agent) {
}
func (self *Miner) HashRate() int64 {
- return self.worker.HashRate()
+ return self.pow.GetHashrate()
}
func (self *Miner) SetExtra(extra []byte) {