Skip to content

Commit 7d20a80

Browse files
authored
feat: show all protocols in connectivity (#1167)
License: MIT Signed-off-by: Henrique Dias <[email protected]>
1 parent 6c82668 commit 7d20a80

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bundles/peer-locations.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,7 @@ const toLocationString = loc => {
255255
}
256256

257257
const parseConnection = (multiaddr) => {
258-
const opts = multiaddr.toOptions()
259-
260-
return `${opts.family}${opts.transport}`
258+
return multiaddr.protoNames().join('・')
261259
}
262260

263261
const parseLatency = (latency) => {

0 commit comments

Comments
 (0)