diff --git a/src/index.ts b/src/index.ts index 91789a2..6be3450 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 (