From 27ba637ac224bcac76635bc8659d76d0472f342d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 2 Sep 2023 13:07:43 -0400 Subject: [PATCH] fix: need to call swarm not peerDiscoveryRegistry --- src/coreModules.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/coreModules.ts b/src/coreModules.ts index 1833a5b..70dfa39 100644 --- a/src/coreModules.ts +++ b/src/coreModules.ts @@ -21,11 +21,7 @@ export async function networkReady() { return false; } } - - const resolvers = await internalModuleCall( - CORE_MODULES.peerDiscoveryRegistry, - "getRelays", - ); + const resolvers = await internalModuleCall(CORE_MODULES.swarm, "getRelays"); return resolvers.length > 0; }