Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

fix: disconnect by peerid not multiaddr #577

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

jacobheun
Copy link
Contributor

Disconnecting by a multiaddr isn't reliable as we're not always guaranteed to have a PeerId in the multiaddr. Using a PeerId is reliable. This updates the disconnect test to use the PeerId of the peer instead of the multiaddr

@alanshaw
Copy link
Contributor

alanshaw commented Jan 7, 2020

Can you please rebase this onto #567 @jacobheun as this is the PR being used in ipfs/js-ipfs#2683

@jacobheun
Copy link
Contributor Author

@alanshaw this PR is onto that branch, do you just want me to commit to it?

@alanshaw alanshaw merged commit 1890faa into refactor/async-iterables Jan 7, 2020
@alanshaw alanshaw deleted the fix/swarm-disconnect branch January 7, 2020 20:11
alanshaw pushed a commit that referenced this pull request Jan 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants