Compare commits
2 Commits
10d3c1fde8
...
0a35d7f062
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 0a35d7f062 | |
Derrick Hammer | 5e41c10ab6 |
|
@ -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());
|
||||||
|
|
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue