Skip to content

Commit

Permalink
Merge branch 'feat/wallet-connect-v2' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
yasincaliskan committed May 9, 2024
2 parents 38d7c54 + fd75955 commit 23425eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/PeraWalletConnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,12 @@ class PeraWalletConnect {
try {
const walletDetails = getWalletDetailsFromStorage();

if (!walletDetails?.chainId) {
await resetWalletDetailsFromStorage();

return;
}

if (!walletDetails) {
resolve([]);

Expand Down

0 comments on commit 23425eb

Please sign in to comment.