all: fix miner hashRate -> hashrate on API calls

This commit is contained in:
Péter Szilágyi
2021-03-31 10:56:51 +03:00
parent 4a37ae510e
commit 55300d4fdb
6 changed files with 8 additions and 18 deletions

View File

@ -89,7 +89,7 @@ func (api *API) SubmitWork(nonce types.BlockNonce, hash, digest common.Hash) boo
//
// It accepts the miner hash rate and an identifier which must be unique
// between nodes.
func (api *API) SubmitHashRate(rate hexutil.Uint64, id common.Hash) bool {
func (api *API) SubmitHashrate(rate hexutil.Uint64, id common.Hash) bool {
if api.ethash.remote == nil {
return false
}