*Set id to 0
This commit is contained in:
parent
f76391d46e
commit
20c55f94ad
|
@ -23,7 +23,7 @@ async function loadLibs() {
|
||||||
|
|
||||||
export class DHT {
|
export class DHT {
|
||||||
private useDefaultDht: boolean;
|
private useDefaultDht: boolean;
|
||||||
private id: number;
|
private id: number = 0;
|
||||||
|
|
||||||
constructor(useDefaultDht = true) {
|
constructor(useDefaultDht = true) {
|
||||||
this.useDefaultDht = useDefaultDht;
|
this.useDefaultDht = useDefaultDht;
|
||||||
|
|
Loading…
Reference in New Issue