Open lucian55 opened 5 months ago
I know the reason.
For the same website, open two tabs, one using Phantom and the other disabling Phantom. Refreshing the disabled tab will cause the value of localstorage to be reset to "\"Phantom\""
@lucian55 Could you give more information on how to reproduce this? If you can give step-by-step instructions using https://anza-xyz.github.io/wallet-adapter/example/ that'd be great!
When I use Phantom to connect to my wallet, the walletName in localstorage is set to "Phantom", which is normal. When I refresh the page, "Phantom" sometimes becomes
"\"\\\"\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Phantom\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\"\\\"\""
It happens occasionally, not necessarily. What's going on?