*check for 0, not less than 0

This commit is contained in:
Derrick Hammer 2022-07-26 21:46:58 -04:00
parent fe09e2a5d9
commit b52bdcdeb2
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ export default class DHT {
![...this._activeRelays.keys()].includes(x)
);
let relayPromises = [];
if (0 > available.length) {
if (0 === available.length) {
return;
}
while (