diff --git a/src/index.ts b/src/index.ts index 26cac0d..76e1c2d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -191,6 +191,8 @@ export default class DHTCache extends EventEmitter { id, }); + this.send(peer, { type: Type.BOOTSTRAP_REQUEST }); + this._emitHeartbeat(peer); this.log.debug(`Relay peer connected: ${stringId}`);