diff --git a/packages/blocto-sdk/src/providers/ethereum.ts b/packages/blocto-sdk/src/providers/ethereum.ts index 5368a519..73de6f76 100644 --- a/packages/blocto-sdk/src/providers/ethereum.ts +++ b/packages/blocto-sdk/src/providers/ethereum.ts @@ -786,7 +786,7 @@ export default class EthereumProvider if (e.data.type === 'ETH:FRAME:CLOSE') { removeListener(); detatchFrame(switchChainFrame); - if (e.data?.hasApprovedSwitchChain) { + if (e.data?.hasApprovedSwitchChain && e.data?.hasEnoughPointsToCreateWallet) { this.eventListeners?.chainChanged.forEach((listener) => listener(this.chainId) );