*check for 0, not less than 0
This commit is contained in:
parent
fe09e2a5d9
commit
b52bdcdeb2
|
@ -127,7 +127,7 @@ export default class DHT {
|
||||||
![...this._activeRelays.keys()].includes(x)
|
![...this._activeRelays.keys()].includes(x)
|
||||||
);
|
);
|
||||||
let relayPromises = [];
|
let relayPromises = [];
|
||||||
if (0 > available.length) {
|
if (0 === available.length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while (
|
while (
|
||||||
|
|
Loading…
Reference in New Issue