Skip to content

fix: when passed a multiaddr, only dial that multiaddr #1498

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

Merged
merged 3 commits into from
Nov 30, 2022

Conversation

achingbrain
Copy link
Member

When a user passes a multiaddr to libp2p.dial, only dial that multiaddr instead of extracting the peer id from the multiaddr, using it to look up every known address and dialing them all.

When passing a peer id to libp2p.dial, all addresses will be dialed as before.

Fixes #1497

When a user passes a multiaddr to `libp2p.dial`, only dial that
multiaddr instead of extracting the peer id from the multiaddr,
using it to look up every known address and dialing them all.

When passing a peer id to `libp2p.dial`, all addresses will be
dialed as before.

Fixes #1497
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.

Dialing a multiaddr should only dial that multiaddr
2 participants