*Remove use of aq

This commit is contained in:
Derrick Hammer 2022-08-13 05:41:36 -04:00
parent 6aca65b3e1
commit b70c77eeda
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 2 deletions

View File

@ -37,14 +37,13 @@ let readyPromise = new Promise((resolve) => {
readyPromiseResolve = resolve; readyPromiseResolve = resolve;
}); });
async function handlePresentSeed(aq: ActiveQuery) { async function handlePresentSeed() {
dht = new DHT(false); dht = new DHT(false);
for (const relay of relays) { for (const relay of relays) {
await dht.addRelay(relay); await dht.addRelay(relay);
} }
await dht.ready(); await dht.ready();
refreshGatewayList(); refreshGatewayList();
aq.respond();
readyPromiseResolve(); readyPromiseResolve();
} }