diff --git a/dist/index.js b/dist/index.js index 6074374..d37ce22 100644 --- a/dist/index.js +++ b/dist/index.js @@ -19,7 +19,7 @@ class HandshakeProxy extends libhyperproxy_1.Proxy { listen, autostart: true, protocol: PROTOCOL, - async onopen(socket) { + async onopen(inboundPeer, socket) { const peer = net_1.Peer.fromInbound(self._node.pool.options, socket); peer.connected = false; peer.outbound = true;