Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Report 0 hashrate when the mining coordinator doesn't support mining #1744

Merged
merged 2 commits into from
Jul 24, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Ethstats reporting was still failing on Clique based networks because our eth_hashrate call returned an error when the MiningCoordinator doesn't support hash rates. The standard behaviour is to return 0 in this case, so adjust Pantheon to match.

@ajsutton ajsutton merged commit ab68663 into PegaSysEng:master Jul 24, 2019
ajsutton added a commit to ajsutton/pantheon that referenced this pull request Jul 25, 2019
…egaSysEng#1744)

Fixes compatibility with ethstats.net reporting for PoA networks (specifically Görli).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants