From bf70a54b31fe2d9b3f85e9aa96d4d80f6b10bcd9 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 3 Aug 2022 21:09:24 -0400 Subject: [PATCH] *dht id is nested --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index c38195a..11a9100 100644 --- a/src/index.ts +++ b/src/index.ts @@ -82,7 +82,7 @@ export class DHT { throw new Error(err); } - this.id = dht; + this.id = dht.dht; } public async close(): Promise {