forked from libp2p/js-libp2p
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow listening on duplicate addresses (libp2p#1472)
Some listen addresses are turned into valid unique addresses when listening on them, for example `/ip4/0.0.0.0/tcp/0`, so we should be able to listen on multiple versions of addresses like these. Currently we dedupe listen addresses before listening starts so this isn't possible. This PR removes the deduping and adds a test.
- Loading branch information
1 parent
fed012d
commit 030dbc8
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters