dev@locazia: fix incorrect app_name

This commit is contained in:
user 2024-03-08 23:38:34 +03:00
parent d38010a318
commit a2ff164980
1 changed files with 1 additions and 2 deletions

View File

@ -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)