all: fix miner hashRate -> hashrate on API calls
This commit is contained in:
@ -754,7 +754,7 @@ func (s *Service) reportStats(conn *connWrapper) error {
|
||||
fullBackend, ok := s.backend.(fullNodeBackend)
|
||||
if ok {
|
||||
mining = fullBackend.Miner().Mining()
|
||||
hashrate = int(fullBackend.Miner().HashRate())
|
||||
hashrate = int(fullBackend.Miner().Hashrate())
|
||||
|
||||
sync := fullBackend.Downloader().Progress()
|
||||
syncing = fullBackend.CurrentHeader().Number.Uint64() >= sync.HighestBlock
|
||||
|
Reference in New Issue
Block a user