*add negative condition

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

View File

@ -124,7 +124,7 @@ export default class DHT {
private async fillConnections(): Promise<any> {
let available = [...this._relays.keys()].filter((x) =>
[...this._activeRelays.keys()].includes(x)
![...this._activeRelays.keys()].includes(x)
);
let relayPromises = [];
if (0 > available.length) {