Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

fix/only tcp #55

Merged
merged 2 commits into from Jan 19, 2017
Merged

fix/only tcp #55

merged 2 commits into from Jan 19, 2017

Conversation

daviddias
Copy link
Member

No description provided.

Copy link

@haadcode haadcode left a comment

Choose a reason for hiding this comment

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

LGTM as long as CI is happy.

@@ -115,8 +120,7 @@ class MulticastDNS extends EventEmitter {
data: peerInfo.id.toB58String() + '.' + serviceTag
})

// Only announce TCP multiaddrs for now
const multiaddrs = tcp.filter(peerInfo.multiaddrs)
// TODO announce all the TCP multiaddrs
const port = multiaddrs[0].toString().split('/')[4]

Choose a reason for hiding this comment

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

Should we check the existance of multiaddrs[0] as well as the existance of the 4th element in the split array?

Choose a reason for hiding this comment

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

Ignore the comment, I see you did that above! 👍

Copy link
Member Author

Choose a reason for hiding this comment

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

:)

@daviddias daviddias merged commit 4b014cc into master Jan 19, 2017
@daviddias daviddias deleted the fix/only-tcp branch January 19, 2017 10:26
@daviddias daviddias removed the status/in-progress In progress label Jan 19, 2017
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