Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer 0a35d7f062
*Update dist 2023-02-24 23:14:57 -05:00
Derrick Hammer 5e41c10ab6
*Update pass peers public key 2023-02-24 23:14:36 -05:00
2 changed files with 2 additions and 0 deletions

1
dist/peer.js vendored
View File

@ -42,6 +42,7 @@ class Peer {
self._socket = new socket_js_1.default({ self._socket = new socket_js_1.default({
remoteAddress: self._peer.rawStream.remoteHost, remoteAddress: self._peer.rawStream.remoteHost,
remotePort: self._peer.rawStream.remotePort, remotePort: self._peer.rawStream.remotePort,
remotePublicKey: self._peer.remotePublicKey,
write, write,
}); });
self._socket.on("end", () => channel.close()); self._socket.on("end", () => channel.close());

View File

@ -78,6 +78,7 @@ export default class Peer {
self._socket = new Socket({ self._socket = new Socket({
remoteAddress: self._peer.rawStream.remoteHost, remoteAddress: self._peer.rawStream.remoteHost,
remotePort: self._peer.rawStream.remotePort, remotePort: self._peer.rawStream.remotePort,
remotePublicKey: self._peer.remotePublicKey,
write, write,
}); });
self._socket.on("end", () => channel.close()); self._socket.on("end", () => channel.close());