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

address not being updated on keplr account change #151

Closed
marinhoarthur opened this issue Dec 9, 2021 · 2 comments
Closed

address not being updated on keplr account change #151

marinhoarthur opened this issue Dec 9, 2021 · 2 comments
Labels
bug Something isn't working closed-after-next-major Already solved by SF 1 but not published yet.

Comments

@marinhoarthur
Copy link
Contributor

marinhoarthur commented Dec 9, 2021

Steps to reproduce:

  1. Connect to Keplr
  2. Open Keplr and switch account
  3. Open our Wallet. The addresses do not match anymore (one from previous account, the other one from the current)

Screen Shot 2021-12-09 at 09 31 49

@marinhoarthur marinhoarthur added the bug Something isn't working label Dec 9, 2021
@clockworkgr
Copy link
Collaborator

window.addEventListener('keplr_keystorechange', async () => { ...} );

use that but @starport/vuex common/wallet also needs updating as it stores the first instance and needs to be updated (or refactored to always query the currently connected keplr)

@marinhoarthur
Copy link
Contributor Author

update:

  • will be closed once next major is published

@marinhoarthur marinhoarthur added the closed-after-next-major Already solved by SF 1 but not published yet. label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working closed-after-next-major Already solved by SF 1 but not published yet.
Projects
None yet
Development

No branches or pull requests

2 participants