From 088cc9c57171e41d059dd95b2f1fa73892739430 Mon Sep 17 00:00:00 2001 From: Sid Harder Date: Tue, 22 Nov 2016 09:15:25 -0700 Subject: [PATCH] Calling distinctMultiaddr to eliminate appropriate dup multiaddrs (#131) --- src/transport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transport.js b/src/transport.js index f18edf241d..eefe728a92 100644 --- a/src/transport.js +++ b/src/transport.js @@ -67,7 +67,7 @@ module.exports = function (swarm) { handler = protocolMuxer.bind(null, swarm.protocols) } - const multiaddrs = dialables(swarm.transports[key], swarm._peerInfo.multiaddrs) + const multiaddrs = dialables(swarm.transports[key], swarm._peerInfo.distinctMultiaddr()) const transport = swarm.transports[key]