From 8d4be6ec4a80971241c9ff603a7cc865d79ee91d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 26 Jul 2022 22:49:46 -0400 Subject: [PATCH] *Using wrong map --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 6be3450..56772a6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -145,7 +145,7 @@ export default class DHT { const node = new DhtNode( new Stream( true, - new WebSocket(this._activeRelays.get(connection) as string) + new WebSocket(this._relays.get(connection) as string) ), this._options );