Return conn on swarm.dial

This commit is contained in:
Francisco Baio Dias
2016-03-20 18:11:16 +00:00
parent f2df5586d5
commit c726c252df
2 changed files with 30 additions and 0 deletions

View File

@ -197,6 +197,8 @@ function Swarm (peerInfo) {
gotMuxer(this.muxedConns[b58Id].muxer)
}
return pt
function gotWarmedUpConn (conn) {
attemptMuxerUpgrade(conn, (err, muxer) => {
if (!protocol) {