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

fix: docs and adds test assertion that peer is a PeerId in return value from swarm.peers #230

Merged
merged 1 commit into from
Mar 7, 2018

Conversation

alanshaw
Copy link
Contributor

@alanshaw alanshaw commented Mar 7, 2018

As per discussion in ipfs/js-ipfs#1248

@daviddias
Copy link
Contributor

Is there a PR to fix this in js-ipfs?

@alanshaw
Copy link
Contributor Author

alanshaw commented Mar 7, 2018

ipfs/js-ipfs#1252

Copy link
Contributor

@daviddias daviddias left a comment

Choose a reason for hiding this comment

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

Thank you @alanshaw :)

@daviddias daviddias merged commit db530d7 into master Mar 7, 2018
@ghost ghost removed the in progress label Mar 7, 2018
@daviddias daviddias deleted the fix/swarm-peers-peer-to-peerId branch March 7, 2018 15:55
@alanshaw
Copy link
Contributor Author

alanshaw commented Mar 7, 2018

Note, there's no change to js-ipfs-api as it already assumes a PeerId is being sent:
https://github.com/ipfs/js-ipfs-api/blob/master/src/swarm/peers.js#L48

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.

None yet

2 participants