*Update pass peers public key
This commit is contained in:
parent
10d3c1fde8
commit
5e41c10ab6
|
@ -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