*update dist

This commit is contained in:
Derrick Hammer 2023-04-09 12:24:05 -04:00
parent 94342e6929
commit 22023baedc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

2
dist/peer.js vendored
View File

@ -43,7 +43,7 @@ class Peer {
this._socket = new socket_js_1.default({ this._socket = new socket_js_1.default({
remoteAddress: raw.remoteHost, remoteAddress: raw.remoteHost,
remotePort: raw.remotePort, remotePort: raw.remotePort,
remotePublicKey: self._peer.remotePublicKey, remotePublicKey: await maybeGetAsyncProperty(self._peer.remotePublicKey),
async write(data, cb) { async write(data, cb) {
if (pipe) { if (pipe) {
pipe.send(data); pipe.send(data);