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

Add missing check if capability is not empty before checking mandatory capabilities #3162

Merged
merged 3 commits into from
Aug 29, 2019

Conversation

chimp1984
Copy link
Contributor

@chimp1984 chimp1984 commented Aug 29, 2019

We do not get the capabilities with all network messages so we have to
skip the test if the mandatory capability is included if capabilities
is empty.

fixes #3161 thus, deprecates and therefore closes #3163

…y capabilities

We do not get the capabilities with all network messages so we have to
skip the test if the mandatory capability is included if capabilities
is empty.
@chimp1984 chimp1984 requested a review from ripcurlx as a code owner August 29, 2019 16:00
@chimp1984 chimp1984 changed the title Add missing check if capability is not empty before checking mandator… Add missing check if capability is not empty before checking mandatory capabilities Aug 29, 2019
- Move check for empty capability to connection class.
- Add MANDATORY_CAPABILITIES_NOT_SUPPORTED
- Add comment that capabilities can be empty
@chimp1984
Copy link
Contributor Author

Fixes #3161

Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@sqrrm sqrrm merged commit 9a2dfda into bisq-network:master Aug 29, 2019
@chimp1984 chimp1984 deleted the fix-mandatory-capability-check branch August 29, 2019 19:35
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.

Connecting to Bisq P2P network is broken on master with NPE exception
2 participants