Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

feat(swarm): update swarm.peers to new api #600

Merged
merged 2 commits into from
Nov 24, 2016

Conversation

dignifiedquire
Copy link
Member

Copy link
Member

@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.

Just waiting for CI

@dignifiedquire
Copy link
Member Author

@diasdavid I don't understand this, even though we do a connect before calling swarm.peers it seems the peerbook is still empty. Could you check that out what's happening there, as that does not seem to be related to the changes I made.

@daviddias daviddias added js-ipfs-ready and removed status/in-progress In progress labels Nov 21, 2016
@daviddias daviddias mentioned this pull request Nov 24, 2016
3 tasks
@daviddias
Copy link
Member

@dignifiedquire got it. you were calling swarm.peers on peerB, it is true that peerA dialed to peerB, but peerB needs time to finish the identify, because until that is finished, it has no idea of has called it. Updating the test :)

@daviddias daviddias changed the base branch from master to feat/awesome-dag-pb November 24, 2016 20:52
@daviddias
Copy link
Member

thanks for updating this @dignifiedquire going to merge into feat/awesome-dag-pb because both depend on an updated interface-ipld-core

@daviddias daviddias merged commit 1132f33 into feat/awesome-dag-pb Nov 24, 2016
@daviddias daviddias deleted the new-swarm-peers branch November 24, 2016 20:54
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