diff --git a/src/index.ts b/src/index.ts index 5591d52..ffc618c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -357,7 +357,7 @@ export default class DHTCache extends EventEmitter { } this.emit("bootstrapped"); - + this.bootstrapped = true; this._recalculate(); }