Fix vote lock display, conditionally disable recovery, improve modal #4840
Labels
enhancement
New feature or request
scope:app/common
Features related to the App or common components
Hello! Today i want to draw attention to three more or less cosmetic bugs that can lead to confusion.
When a user chooses to recover a vote lock the transaction fails.
Below the more recent vote by the same stake for a different candidate in the last election:
Solution
To fix the above i suggest the following changes:
Recover
button is disabled if the vote was for a winner in the last election. Allow recovering in all other cases (which should work according to the fix applied 2 years ago)."The stake is currently locked due to a recent election."
. It's possible that other cases may apply and should be mentioned as well but it's unlikely since @Ondrata mentioned in above issue that this specific error is only raised for failedcan_unlock_vote_stake
([USERSNAP] Show why transaction failed. #2835 Display error code in the error modal #2621).Tx details
For reference all displayed information
The text was updated successfully, but these errors were encountered: