*_relays is a map
This commit is contained in:
parent
377b9548cf
commit
c7b64064ad
|
@ -67,7 +67,7 @@ export default class DHT {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
this._relays[pubkey] = `wss://${domain}:${port}/`;
|
this._relays.set(pubkey, `wss://${domain}:${port}/`);
|
||||||
|
|
||||||
if (this._inited) {
|
if (this._inited) {
|
||||||
await this.fillConnections();
|
await this.fillConnections();
|
||||||
|
|
Loading…
Reference in New Issue