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

fix: support multiaddr 7 #94

Merged
merged 2 commits into from
Sep 30, 2019
Merged

fix: support multiaddr 7 #94

merged 2 commits into from
Sep 30, 2019

Conversation

jacobheun
Copy link
Contributor

This adds multiaddr 7 support to filtering. multiaddr 7 uses p2p instead of ipfs. Since we currently decapsulate with 'ipfs' this causes valid addresses to get filtered out. Filter will now check for decapsulateCode on the multiaddr and use that if it exists, otherwise it defaults to its previous behavior.

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
@jacobheun jacobheun changed the base branch from master to 0.12.x September 30, 2019 10:15
@jacobheun jacobheun merged commit 996c532 into 0.12.x Sep 30, 2019
@jacobheun jacobheun deleted the fix/multiaddr7 branch September 30, 2019 10:16
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