Compare commits
2 Commits
6099a6c4f6
...
22023baedc
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 22023baedc | |
Derrick Hammer | 94342e6929 |
|
@ -43,7 +43,7 @@ class Peer {
|
|||
this._socket = new socket_js_1.default({
|
||||
remoteAddress: raw.remoteHost,
|
||||
remotePort: raw.remotePort,
|
||||
remotePublicKey: self._peer.remotePublicKey,
|
||||
remotePublicKey: await maybeGetAsyncProperty(self._peer.remotePublicKey),
|
||||
async write(data, cb) {
|
||||
if (pipe) {
|
||||
pipe.send(data);
|
||||
|
|
|
@ -105,7 +105,7 @@ export default class Peer {
|
|||
this._socket = new Socket({
|
||||
remoteAddress: raw.remoteHost,
|
||||
remotePort: raw.remotePort,
|
||||
remotePublicKey: self._peer.remotePublicKey,
|
||||
remotePublicKey: await maybeGetAsyncProperty(self._peer.remotePublicKey),
|
||||
async write(data: any, cb: Function) {
|
||||
if (pipe) {
|
||||
pipe.send(data);
|
||||
|
|
Loading…
Reference in New Issue