Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sandbox: improve connect button handler logic #22

Open
pastaghost opened this issue Aug 29, 2022 · 0 comments
Open

sandbox: improve connect button handler logic #22

pastaghost opened this issue Aug 29, 2022 · 0 comments

Comments

@pastaghost
Copy link
Collaborator

Issue: the connect button will sometimes incorrectly show the application to have successfully connected to the snap. This occurs if there is an error during snap installation and may occur in other cases.

Fix: improve logic by explicitly checking for errors in return object, and verify that snap was successfully installed by calling wallet_getSnaps() and parsing list of installed snaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant