Skip to content

Commit

Permalink
Calling distinctMultiaddr to eliminate appropriate dup multiaddrs (li…
Browse files Browse the repository at this point in the history
  • Loading branch information
SidHarder authored and daviddias committed Nov 22, 2016
1 parent 83bd99b commit 088cc9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 088cc9c

Please sign in to comment.