*Update dist
This commit is contained in:
parent
8d4be6ec4a
commit
b4962e994b
|
@ -101,7 +101,7 @@ export default class DHT {
|
||||||
if (!this.isServerAvailable(connection)) {
|
if (!this.isServerAvailable(connection)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
const node = new DhtNode(new Stream(true, new WebSocket(this._activeRelays.get(connection))), this._options);
|
const node = new DhtNode(new Stream(true, new WebSocket(this._relays.get(connection))), this._options);
|
||||||
this._activeRelays.set(available[relayIndex], node);
|
this._activeRelays.set(available[relayIndex], node);
|
||||||
relayPromises.push(node.ready());
|
relayPromises.push(node.ready());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue