Compare commits
No commits in common. "22023baedc8c126134d96156c9dba492b275d4c6" and "6099a6c4f62aa49a9f8d21afbe13e3f3dfd5e60e" have entirely different histories.
22023baedc
...
6099a6c4f6
|
@ -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: await maybeGetAsyncProperty(self._peer.remotePublicKey),
|
remotePublicKey: self._peer.remotePublicKey,
|
||||||
async write(data, cb) {
|
async write(data, cb) {
|
||||||
if (pipe) {
|
if (pipe) {
|
||||||
pipe.send(data);
|
pipe.send(data);
|
||||||
|
|
|
@ -105,7 +105,7 @@ export default class Peer {
|
||||||
this._socket = new Socket({
|
this._socket = new Socket({
|
||||||
remoteAddress: raw.remoteHost,
|
remoteAddress: raw.remoteHost,
|
||||||
remotePort: raw.remotePort,
|
remotePort: raw.remotePort,
|
||||||
remotePublicKey: await maybeGetAsyncProperty(self._peer.remotePublicKey),
|
remotePublicKey: self._peer.remotePublicKey,
|
||||||
async write(data: any, cb: Function) {
|
async write(data: any, cb: Function) {
|
||||||
if (pipe) {
|
if (pipe) {
|
||||||
pipe.send(data);
|
pipe.send(data);
|
||||||
|
|
Loading…
Reference in New Issue