mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-05-08 17:02:14 +00:00
# What The code assumes that `peerInfo` exists, the API doesn't. # How to test ```js swarm = new Swarm() swarm.addTransport('tcp', tcp, { multiaddr: mh }, {}, {port: 8095}) ``` This shouldn't explode because of `self.peerInfo.multiaddrs`.