diff --git a/dist/index.js b/dist/index.js index df2fe69..105e454 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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}`); }