fix: if the network is ready then fetch the peer count

This commit is contained in:
Derrick Hammer 2023-07-30 21:36:39 -04:00
parent d23c583cf5
commit a27aeb2ec8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -313,6 +313,8 @@ async function handleStatus(aq: ActiveQuery) {
sendUpdate(); sendUpdate();
await ready(); await ready();
getPeers(); getPeers();
} else {
getPeers();
} }
function getPeers() { function getPeers() {