mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-07-04 19:31:36 +00:00
connection reuse with identify
This commit is contained in:
@ -42,7 +42,7 @@ function Swarm () {
|
||||
|
||||
conn.start(3.1)
|
||||
|
||||
self.emit('connection', conn)
|
||||
self.emit('connection-unknown', conn)
|
||||
|
||||
// attach multistream handlers to incoming streams
|
||||
conn.on('stream', registerHandles)
|
||||
|
Reference in New Issue
Block a user