Compare commits

..

No commits in common. "9dc698e74474268c6aa0ab994ae3e38af7fa5d09" and "46404958cf462f4a00e9851a0aa1c2998ecf119f" have entirely different histories.

2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -134,7 +134,7 @@ class DHTCache extends events_1.default {
type: messages_js_1.Type.CONNECTED,
id,
});
this.send(peer, this._compileMessage({ type: messages_js_1.Type.BOOTSTRAP_REQUEST }));
this.send(peer, { type: messages_js_1.Type.BOOTSTRAP_REQUEST });
this._emitHeartbeat(peer);
this.log.debug(`Relay peer connected: ${stringId}`);
}

View File

@ -191,7 +191,7 @@ export default class DHTCache extends EventEmitter {
id,
});
this.send(peer, this._compileMessage({ type: Type.BOOTSTRAP_REQUEST }));
this.send(peer, { type: Type.BOOTSTRAP_REQUEST });
this._emitHeartbeat(peer);