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;