dev@locazia: fix important trouble tonconnect

This commit is contained in:
user 2024-03-08 02:13:35 +03:00
parent 94c151d546
commit de9c696918
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class TonConnect:
network='ton', network='ton',
wallet_key=f"{status['device'].get('app_name', 'UNKNOWN_NAME')}=={status['device'].get('app_version', '1.0')}", wallet_key=f"{status['device'].get('app_name', 'UNKNOWN_NAME')}=={status['device'].get('app_version', '1.0')}",
connection_id=sha256(self.connection_key.encode()).hexdigest(), connection_id=sha256(self.connection_key.encode()).hexdigest(),
wallet_address=Address(status['account']['address']), wallet_address=Address(status['account']['address']).to_string(1, 1, 1),
keys={ keys={
'connection_key': self.connection_key, 'connection_key': self.connection_key,
}, },