From b4962e994bf2738f202903f138d62d1e2c6e257a Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 26 Jul 2022 22:50:55 -0400 Subject: [PATCH] *Update dist --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index c8b7fc1..93e6555 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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()); }