From 67bdf54e716f3c33182e5d86182baaf3159c876f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 26 Nov 2022 19:32:22 -0500 Subject: [PATCH] *bootstrapped flag needs to be set --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }