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: ignore peers with invalid multiaddrs #1902

Merged
merged 7 commits into from
Jul 30, 2023

Conversation

maschad
Copy link
Member

@maschad maschad commented Jul 26, 2023

Looking through the codepath I don't really see a scenario where this code occur unless a consumer intentionally omits a multiaddr , I also see that we already have tests for this type of scenario

Closes #1873

packages/libp2p/src/libp2p.ts Outdated Show resolved Hide resolved
@maschad maschad requested a review from achingbrain July 28, 2023 16:47
@maschad maschad requested a review from achingbrain July 29, 2023 19:40
@achingbrain achingbrain merged commit a41d25d into libp2p:master Jul 30, 2023
17 checks passed
This was referenced Jan 18, 2024
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.

'peer:discovery' event does not always emit a valid PeerInfo
2 participants