*Update dist

This commit is contained in:
Derrick Hammer 2023-04-09 12:42:12 -04:00
parent b0ae2a2a3e
commit 17455db38d
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

2
dist/index.js vendored
View File

@ -19,7 +19,7 @@ class HandshakeProxy extends libhyperproxy_1.Proxy {
listen, listen,
autostart: true, autostart: true,
protocol: PROTOCOL, protocol: PROTOCOL,
async onopen(socket) { async onopen(inboundPeer, socket) {
const peer = net_1.Peer.fromInbound(self._node.pool.options, socket); const peer = net_1.Peer.fromInbound(self._node.pool.options, socket);
peer.connected = false; peer.connected = false;
peer.outbound = true; peer.outbound = true;