Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

fix: handle nil peer IDs #88

Merged
merged 1 commit into from
Apr 6, 2020
Merged

fix: handle nil peer IDs #88

merged 1 commit into from
Apr 6, 2020

Conversation

Stebalien
Copy link
Member

Feels like Java all over again.

fixes #87

@raulk
Copy link
Member

raulk commented Jul 2, 2019

Except that Java now has Optional<T>...

@Stebalien
Copy link
Member Author

Lol.

@raulk
Copy link
Member

raulk commented Jul 5, 2019

I think it makes more sense to revise the insecure secure channel: libp2p/specs#184.

@Stebalien
Copy link
Member Author

IMO, we should do both. We shouldn't panic on invalid peer IDs.

Feels like Java all over again.

fixes #87
@Stebalien
Copy link
Member Author

I just ran into a panic due to this issue elsewhere.

@Stebalien Stebalien merged commit 4e9932b into master Apr 6, 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.

Runtime error in addrSegments.get when PeerID is empty
3 participants