From 20c55f94add7bd7c26b76e321a609e18bd36e9bf Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 3 Aug 2022 12:27:47 -0400 Subject: [PATCH] *Set id to 0 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index a1f3a8d..15bee15 100644 --- a/src/index.ts +++ b/src/index.ts @@ -23,7 +23,7 @@ async function loadLibs() { export class DHT { private useDefaultDht: boolean; - private id: number; + private id: number = 0; constructor(useDefaultDht = true) { this.useDefaultDht = useDefaultDht;