diff --git a/src/PeraWalletConnect.ts b/src/PeraWalletConnect.ts index 39ba09c..cd38329 100644 --- a/src/PeraWalletConnect.ts +++ b/src/PeraWalletConnect.ts @@ -474,6 +474,12 @@ class PeraWalletConnect { try { const walletDetails = getWalletDetailsFromStorage(); + if (!walletDetails?.chainId) { + await resetWalletDetailsFromStorage(); + + return; + } + if (!walletDetails) { resolve([]);