fix: ready needs to call respond

This commit is contained in:
Derrick Hammer 2023-09-01 07:18:23 -04:00
parent 6bc258f6fc
commit 840383d7c8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

View File

@ -78,6 +78,8 @@ async function setup() {
node.services.p2p.onNewPeer(s5peer, true); node.services.p2p.onNewPeer(s5peer, true);
}); });
} }
async function ready() { async function ready(aq: ActiveQuery) {
await moduleReadyDefer.promise; await moduleReadyDefer.promise;
aq.respond();
} }