*update dist
This commit is contained in:
parent
94342e6929
commit
22023baedc
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue