diff --git a/src/connection/manager.js b/src/connection/manager.js index b6abd362e3..38bb4e5bed 100644 --- a/src/connection/manager.js +++ b/src/connection/manager.js @@ -179,12 +179,7 @@ class ConnectionManager { }) } - const { peerInfo, observedAddrs } = results - - for (var i = 0; i < observedAddrs.length; i++) { - var addr = observedAddrs[i] - this.switch._peerInfo.multiaddrs.addSafe(addr) - } + const { peerInfo } = results if (peerInfo) { conn.setPeerInfo(peerInfo)