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 {