From 5e41c10ab648c46c7e09840f6c0d93180ee5a26a Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 24 Feb 2023 23:14:36 -0500 Subject: [PATCH] *Update pass peers public key --- src/peer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/peer.ts b/src/peer.ts index f3443a9..aa7e415 100644 --- a/src/peer.ts +++ b/src/peer.ts @@ -78,6 +78,7 @@ export default class Peer { self._socket = new Socket({ remoteAddress: self._peer.rawStream.remoteHost, remotePort: self._peer.rawStream.remotePort, + remotePublicKey: self._peer.remotePublicKey, write, }); self._socket.on("end", () => channel.close());