From a2ff164980095dd683448306b775c2bd011eee0e Mon Sep 17 00:00:00 2001 From: user Date: Fri, 8 Mar 2024 23:38:34 +0300 Subject: [PATCH] dev@locazia: fix incorrect app_name --- app/core/_blockchain/ton/connect.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/core/_blockchain/ton/connect.py b/app/core/_blockchain/ton/connect.py index 1318d41..7c0fca7 100644 --- a/app/core/_blockchain/ton/connect.py +++ b/app/core/_blockchain/ton/connect.py @@ -94,8 +94,7 @@ class TonConnect: self.set_status_change_callback(status_change_callback) async def new_connection(self, app_name: str): - wallets = self._sdk_client.get_wallets() - for wallet in wallets: + for wallet in TON_CONNECT_WALLETS_LIST: if wallet["app_name"] == app_name: return await self._sdk_client.connect(wallet)