Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always call the callback even when mining is disabled #4

Merged
merged 1 commit into from
Aug 2, 2019

Conversation

ajsutton
Copy link
Contributor

When retrieving the hash rate within the async block, we need to make sure the callback is always called - even if we skip calling the actual JSON-RPC method because mining disabled. Otherwise the overall async never completes because it continues waiting for this remaining function.

@soc1c
Copy link
Contributor

soc1c commented Aug 2, 2019

Thanks!

@soc1c soc1c merged commit 5ed3c28 into goerli:master Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants