mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-06-24 04:41:47 +00:00
test: add async/await tests
This commit is contained in:
committed by
Jacob Heun
parent
e18a3d51a6
commit
5c8c6afea6
@ -33,7 +33,7 @@ module.exports = (handler) => {
|
||||
|
||||
log('new connection', addr.toString())
|
||||
|
||||
const s = new Libp2pSocket(socket)
|
||||
const s = new Libp2pSocket(socket, addr)
|
||||
trackSocket(server, socket)
|
||||
|
||||
handler && handler(s)
|
||||
|
Reference in New Issue
Block a user