fix: if the network is ready then fetch the peer count
This commit is contained in:
parent
d23c583cf5
commit
a27aeb2ec8
|
@ -313,6 +313,8 @@ async function handleStatus(aq: ActiveQuery) {
|
||||||
sendUpdate();
|
sendUpdate();
|
||||||
await ready();
|
await ready();
|
||||||
getPeers();
|
getPeers();
|
||||||
|
} else {
|
||||||
|
getPeers();
|
||||||
}
|
}
|
||||||
|
|
||||||
function getPeers() {
|
function getPeers() {
|
||||||
|
|
Loading…
Reference in New Issue