From 17ca564f432a914488d6afeb38b2662fc50771ee Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 1 Feb 2023 04:57:22 -0500 Subject: [PATCH] *dht-relay ready is on the main object, dht object does not exist --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ecc0132..4dd8335 100644 --- a/src/index.ts +++ b/src/index.ts @@ -83,7 +83,7 @@ export default class HyperswarmWeb extends EventEmitter { } this._processQueuedActions(); - await this._activeRelay.dht.ready(); + await this._activeRelay.ready(); } private async isServerAvailable(connection: string): Promise {