Skip to content

Commit

Permalink
fix(walletconnect): fix WalletConnectAccount failing to assign Key …
Browse files Browse the repository at this point in the history
…for new session
  • Loading branch information
jasonboukheir committed Jul 11, 2022
1 parent aaa3b15 commit ccfd6db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Runtime/CareBoo.AlgoSdk.WalletConnect/WalletConnectAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ public async UniTask BeginSession()
try
{
sessionCancellation = new CancellationTokenSource();
if (SessionData.Key.Data == null)
SessionData = SessionData.InitSession(DappMeta, BridgeUrl);
session = new AlgorandWalletConnectSession(SessionData);
session.OnSessionDisconnect += OnSessionDisconnect;
await session.Connect(sessionCancellation.Token);
Expand Down

0 comments on commit ccfd6db

Please sign in to comment.