*Update dist
This commit is contained in:
parent
b0ae2a2a3e
commit
17455db38d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue