*Update dist

This commit is contained in:
Derrick Hammer 2022-07-26 22:50:55 -04:00
parent 8d4be6ec4a
commit b4962e994b
1 changed files with 1 additions and 1 deletions

2
dist/index.js vendored
View File

@ -101,7 +101,7 @@ export default class DHT {
if (!this.isServerAvailable(connection)) {
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);
relayPromises.push(node.ready());
}