From a554a89a7acd816670b47059a4ba2184d64c7695 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 15 Sep 2019 10:51:16 +0100 Subject: [PATCH] feat: show all protocols in connectivity License: MIT Signed-off-by: Henrique Dias --- src/bundles/peer-locations.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bundles/peer-locations.js b/src/bundles/peer-locations.js index 73fc9888b..8b8b179ea 100644 --- a/src/bundles/peer-locations.js +++ b/src/bundles/peer-locations.js @@ -253,9 +253,7 @@ const toLocationString = loc => { } const parseConnection = (multiaddr) => { - const opts = multiaddr.toOptions() - - return `${opts.family}・${opts.transport}` + return multiaddr.protoNames().join('・') } const parseLatency = (latency) => {