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

Commit

Permalink
Merge 3118442 into ef45cc9
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Jul 23, 2017
2 parents ef45cc9 + 3118442 commit cf9091c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.js
Expand Up @@ -68,7 +68,9 @@ class TCP {
multiaddrs = [multiaddrs]
}
return multiaddrs.filter((ma) => {
if (includes(ma.protoNames(), 'ipfs')) {
if (includes(ma.protoNames(), 'p2p-circuit')) {
return false
} else if (includes(ma.protoNames(), 'ipfs')) {
ma = ma.decapsulate('ipfs')
}
return mafmt.TCP.matches(ma)
Expand Down

0 comments on commit cf9091c

Please sign in to comment.