fix: need to call swarm not peerDiscoveryRegistry

This commit is contained in:
Derrick Hammer 2023-09-02 13:07:43 -04:00
parent 93f42c35a9
commit 27ba637ac2
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 5 deletions

View File

@ -21,11 +21,7 @@ export async function networkReady() {
return false; return false;
} }
} }
const resolvers = await internalModuleCall(CORE_MODULES.swarm, "getRelays");
const resolvers = await internalModuleCall(
CORE_MODULES.peerDiscoveryRegistry,
"getRelays",
);
return resolvers.length > 0; return resolvers.length > 0;
} }