5 Commits

Author SHA1 Message Date
David Dias
0e636597ee update swarm 2016-03-03 12:08:46 +00:00
Pau Ramon Revilla
0514b0034b Do not allow undefined peerInfo
# 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`.
2015-09-26 16:24:46 +02:00
David Dias
9c062ffeeb have at least one test 2015-07-08 23:01:36 -07:00
David Dias
b1f7e65f18 Initial Commit 2015-07-08 16:23:03 -07:00
David Dias
a74aac6e11 Initial Commit 2015-07-08 16:22:59 -07:00