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

fix: use the correct error in the recover account #426

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Commits on Mar 26, 2024

  1. Replace error with RecoverWithStake in lib.rs

    The SplitWithStake error message for accounts with staked tokens has been replaced with RecoverWithStake. This change is reflected in the lib.rs file under the recover account function. This implementation guards against the possibility of double voting that could occur if an account with staked tokens were allowed to be transferred.
    keyvankhademi committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    96a2c27 View commit details
    Browse the repository at this point in the history