all: fix miner hashRate -> hashrate on API calls
This commit is contained in:
@ -160,7 +160,7 @@ func (miner *Miner) Mining() bool {
|
||||
return miner.worker.isRunning()
|
||||
}
|
||||
|
||||
func (miner *Miner) HashRate() uint64 {
|
||||
func (miner *Miner) Hashrate() uint64 {
|
||||
if pow, ok := miner.engine.(consensus.PoW); ok {
|
||||
return uint64(pow.Hashrate())
|
||||
}
|
||||
|
Reference in New Issue
Block a user