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

Fix nil peer scope issues #104

Merged
merged 4 commits into from
Feb 3, 2022
Merged

Fix nil peer scope issues #104

merged 4 commits into from
Feb 3, 2022

Conversation

vyzo
Copy link
Contributor

@vyzo vyzo commented Feb 2, 2022

Always set the peer if the peer scope is null

Removes the very ugly contract of "if you know the peer you have set it" and makes the code robust against upstream bugz.

See libp2p/go-yamux#79
Also needs libp2p/go-libp2p-resource-manager#9

Removes the very ugly contract of "if you know the peer you have set it" and makes the
code robust against upstream bugz.
@vyzo vyzo changed the title Fix/nil peer scope Fix nil peer scope issues Feb 2, 2022
@vyzo vyzo merged commit 51bc161 into master Feb 3, 2022
@vyzo vyzo deleted the fix/nil-peer-scope branch February 3, 2022 17:00
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