diff --git a/src/index.js b/src/index.js index 90f6110..a6d5ea3 100644 --- a/src/index.js +++ b/src/index.js @@ -27,6 +27,7 @@ function Swarm (peerInfo, peerBook) { this._peerInfo = peerInfo this._peerBook = peerBook + this.setMaxListeners(Infinity) // transports -- // { key: transport }; e.g { tcp: } this.transports = {}