From fbe17cfe9b3b57522e6aa111191570d7acf6d2e2 Mon Sep 17 00:00:00 2001 From: "Parsa Yazdani (Quix)" Date: Sat, 2 Nov 2024 20:13:28 +1100 Subject: [PATCH] valid peers --- src/peers/peers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peers/peers.ts b/src/peers/peers.ts index c7ebb85..a546ba4 100644 --- a/src/peers/peers.ts +++ b/src/peers/peers.ts @@ -103,7 +103,7 @@ export default class Peers { const file = await File.init({ hash }, this._client); if (!file) return false; - const peers = await this._client.http.getPeers(); + const peers = await this._client.http.getPeers(true); for (const peer of peers) { let fileContent: { file: Uint8Array; signal: number } | false = false; try {