Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Handle user denying access to his account #108

Open
wissalHaji opened this issue Jan 25, 2021 · 0 comments
Open

Handle user denying access to his account #108

wissalHaji opened this issue Jan 25, 2021 · 0 comments

Comments

@wissalHaji
Copy link

Hi, I'm trying to handle the case where the user denies access to his account when initializing web3, but when I check the web3 status in the state, it's set to failed. I tried to dig in the code and I found out that the action WEB3_USER_DENIED should be dispatched in the catch block of ethereum.enable() instead of WEB3_FAILED.
If you can please make that change.

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

No branches or pull requests

1 participant