Compare commits
2 Commits
46404958cf
...
9dc698e744
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 9dc698e744 | |
Derrick Hammer | b24bc045b8 |
|
@ -134,7 +134,7 @@ class DHTCache extends events_1.default {
|
|||
type: messages_js_1.Type.CONNECTED,
|
||||
id,
|
||||
});
|
||||
this.send(peer, { type: messages_js_1.Type.BOOTSTRAP_REQUEST });
|
||||
this.send(peer, this._compileMessage({ type: messages_js_1.Type.BOOTSTRAP_REQUEST }));
|
||||
this._emitHeartbeat(peer);
|
||||
this.log.debug(`Relay peer connected: ${stringId}`);
|
||||
}
|
||||
|
|
|
@ -191,7 +191,7 @@ export default class DHTCache extends EventEmitter {
|
|||
id,
|
||||
});
|
||||
|
||||
this.send(peer, { type: Type.BOOTSTRAP_REQUEST });
|
||||
this.send(peer, this._compileMessage({ type: Type.BOOTSTRAP_REQUEST }));
|
||||
|
||||
this._emitHeartbeat(peer);
|
||||
|
||||
|
|
Loading…
Reference in New Issue