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

fix: libp2p connections getter #622

Merged
merged 2 commits into from
Apr 30, 2020
Merged

Conversation

vasco-santos
Copy link
Member

After #611 registrar does not keep the connections anymore. This introduced a bug that was not covered in the tests, which is the libp2p.connections getter. This getter was using the older connections property from the registrar.

This PR fixes the above issue, adds a test for it and removes redundant multiaddr creation on a few tests.

Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

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

lgtm

@jacobheun jacobheun merged commit e63a2eb into 0.28.x Apr 30, 2020
@jacobheun jacobheun deleted the fix/libp2p-connections-getter branch April 30, 2020 10:03
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