From a07dc0d613ee0ba79acf6c01df8eb34c58512939 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 15 Oct 2023 00:12:41 -0400 Subject: [PATCH] fix: networkReady should start as false --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 9bf7db3..69c05f9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,7 +43,7 @@ onmessage = handleMessage; const moduleDefer = defer(); let activeIpfsPeersDefer = defer(); let networkPeersAvailable = defer(); -let networkReady = true; +let networkReady = false; const networkRegistry = createNetworkRegistryClient(); let swarm;