Open AigaD opened 11 months ago
Reproduced from: https://preview.portalbridge.com/b05f4e9322/# Both wallets are disconnected after swapping places even if the connected wallets are two different Attachment:
Tested from: https://wormhole-connect.netlify.app/# Both Phantom and Metamask wallets are disconnected after user swaps networks places
Attachment:
The original scenario is reproducible on wormhole-connect-mainnet (Connect v2).
Issue is still reproducible on https://portalbridge.com/ and https://wormhole-connect-mainnet.netlify.app/. When wallets are switched places and user decides to disconnect one of them, both wallets are disconnected.
Attachment:
https://github.com/user-attachments/assets/30f02752-55a0-4d14-a966-af89e54e8c04
Preconditions: Solflare wallet connected at sending From section Metamask wallet connected at sending to section
Environment: MacBook Pro, macOS Ventura 13.0.1, Chrome Version 118.0.5993.88
Tested from: https://wormhole-connect.netlify.app/#
Steps:
Actual result: When wallets are switched places and user decides to disconnect one of them, both wallets are disconnected
Expected result: Only wallet user has selected to disconnect gets disconnected
Attachment:
https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/0860b36e-c272-49fe-a39a-3104e3b1ea06