*Remove use of aq
This commit is contained in:
parent
6aca65b3e1
commit
b70c77eeda
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue