From 840383d7c87037134bdc5603891c468960282fc5 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 1 Sep 2023 07:18:23 -0400 Subject: [PATCH] fix: ready needs to call respond --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index eb631f8..1d8f6a4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -78,6 +78,8 @@ async function setup() { node.services.p2p.onNewPeer(s5peer, true); }); } -async function ready() { +async function ready(aq: ActiveQuery) { await moduleReadyDefer.promise; + + aq.respond(); }