*Remove use of aq
This commit is contained in:
parent
6aca65b3e1
commit
b70c77eeda
|
@ -37,14 +37,13 @@ let readyPromise = new Promise((resolve) => {
|
|||
readyPromiseResolve = resolve;
|
||||
});
|
||||
|
||||
async function handlePresentSeed(aq: ActiveQuery) {
|
||||
async function handlePresentSeed() {
|
||||
dht = new DHT(false);
|
||||
for (const relay of relays) {
|
||||
await dht.addRelay(relay);
|
||||
}
|
||||
await dht.ready();
|
||||
refreshGatewayList();
|
||||
aq.respond();
|
||||
readyPromiseResolve();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue