fix: need to call swarm not peerDiscoveryRegistry
This commit is contained in:
parent
93f42c35a9
commit
27ba637ac2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue