From d5076f6ec951a646e242cfc431dcb3aca27a455a Mon Sep 17 00:00:00 2001 From: Paul Peregud Date: Tue, 27 Aug 2024 13:13:57 +0200 Subject: [PATCH] Update backend/app/infrastructure/external_api/holonym/antisybil.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kacper GarbaciƄski <57113816+kgarbacinski@users.noreply.github.com> --- backend/app/infrastructure/external_api/holonym/antisybil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/infrastructure/external_api/holonym/antisybil.py b/backend/app/infrastructure/external_api/holonym/antisybil.py index 4379c942e0..a1b87556d7 100644 --- a/backend/app/infrastructure/external_api/holonym/antisybil.py +++ b/backend/app/infrastructure/external_api/holonym/antisybil.py @@ -45,7 +45,7 @@ def check( results[cred] = _call(address, cred) has_sbt = any(results.values()) - sbt_type = list({k: v for k, v in results.items() if v}.keys()) + sbt_type = [k for k, v in results.items() if v] return has_sbt, sbt_type