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

Stake state is not cleaned when changing account #5442

Closed
Tracked by #4366
oskarleonard opened this issue Nov 14, 2023 · 0 comments · Fixed by #5457
Closed
Tracked by #4366

Stake state is not cleaned when changing account #5442

oskarleonard opened this issue Nov 14, 2023 · 0 comments · Fixed by #5457
Assignees
Milestone

Comments

@oskarleonard
Copy link
Contributor

oskarleonard commented Nov 14, 2023

Expected behavior

Redux state for stakes are not account specific, it is always store for current account, therefore we need to clean that state when changing account, application or network.

Actual behavior

Screen.Recording.2023-11-14.at.18.03.52.mov

Steps to reproduce

  1. staking 10 lsk to validator1 from account1,
  2. Switch to account 2 (which hasnt stake anywhere yet)
  3. Go to validator1
  4. Expected: Not show that edit stake for that validator

Which version(s) does this affect? (Environment, OS, etc...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants