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

pool: Add missing response to subscribe handler. #372

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

jholdstock
Copy link
Member

The handler for subscribe requests seemed to have incomplete error handling for the case where FetchMinerDifficulty failed. No response was being returned to the caller.

This adds a generic Unknown error response so that the caller is not left hanging.

The handler for subscribe requests seemed to have incomplete error
handling for the case where FetchMinerDifficulty failed. No response was
being returned to the caller.

This adds a generic Unknown error response so that the caller is not
left hanging.
@davecgh davecgh merged commit de42b07 into decred:master Sep 15, 2023
2 checks passed
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