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

Fix typo on dns lookup resolution code - Closes #2961 #2962

Merged
merged 1 commit into from
Feb 25, 2019

Conversation

2snEM6
Copy link
Contributor

@2snEM6 2snEM6 commented Feb 25, 2019

What was the problem?

peer.ip was written as peer.id and therefore a call against dns.lookup()
with undefined value was triggering a crash on socketcluster trying
to connect to an undefined peer.

How did I fix it?

Changed peer.id by peer.ip

How to test it?

Run the application and it shouldn't crash anymore

Review checklist

peer.ip was written as peer.id and therefore a call against dns.lookup()
with undefined value was triggering a crash on socketcluster trying
to connect to an undefined peer.
@diego-G diego-G self-requested a review February 25, 2019 15:07
@MaciejBaj MaciejBaj merged commit d5b2a53 into development Feb 25, 2019
@MaciejBaj MaciejBaj deleted the 2961-fix_typo_on_dns_lookup_code branch February 25, 2019 15:14
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.

Typo on peer dns lookup resolution code
4 participants