dev@locazia: fix incorrect app_name
This commit is contained in:
parent
d38010a318
commit
a2ff164980
|
|
@ -94,8 +94,7 @@ class TonConnect:
|
||||||
self.set_status_change_callback(status_change_callback)
|
self.set_status_change_callback(status_change_callback)
|
||||||
|
|
||||||
async def new_connection(self, app_name: str):
|
async def new_connection(self, app_name: str):
|
||||||
wallets = self._sdk_client.get_wallets()
|
for wallet in TON_CONNECT_WALLETS_LIST:
|
||||||
for wallet in wallets:
|
|
||||||
if wallet["app_name"] == app_name:
|
if wallet["app_name"] == app_name:
|
||||||
return await self._sdk_client.connect(wallet)
|
return await self._sdk_client.connect(wallet)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue