Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer 9dc698e744
*Update dist 2022-12-17 12:32:15 -05:00
Derrick Hammer b24bc045b8
*Need to use _compileMessage 2022-12-17 12:32:02 -05:00
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, { 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}`);
}

View File

@ -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);