ChainSafe / filsnap

MetaMask snap for interacting with Filecoin dapps.
https://filsnap.chainsafe.io
Apache License 2.0
107 stars 41 forks source link

[bug]: `getWalletSnaps` invalidly returns an empty object, causing `isSnapInstalled` to wrongly return false #225

Closed Schwartz10 closed 1 year ago

Schwartz10 commented 1 year ago

Describe the bug

isSnapInstalled returns false when it should return true. This is preventing Glif wallet and safe users from using the FILSnap.

To Reproduce

The bug is reproducible on https://filsnap.chainsafe.io/ - if you look in the developer console, you'll see the console.log(await getWalletSnaps()) returns {}

Relevant log output

N/a

Expected behavior

isSnapInstalled should return true when the snap is installed

Additional context

N/a

mpetrunic commented 1 year ago

Closing as source of bug is metamask release and fix should be released soon: https://github.com/MetaMask/metamask-extension/issues/16176