*Need to call resolveWithPeers with resolve callback handler

This commit is contained in:
Derrick Hammer 2023-02-20 11:16:45 -05:00
parent e77eaac0a0
commit f3edce42fa
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@ async function handleReady(aq: ActiveQuery) {
return resolveWithPeers(resolve);
}
proxy.node.pool.on("full", resolveWithPeers);
proxy.node.pool.once("full", () => {
resolveWithPeers(resolve);
});
});
aq.respond();