Skip to content

bug(StakeManeger): unstake does not reconsider changes in expiredMP for estimation #147

Description

@3esmit

When accounts unstake, it changes the estimation for when the account stops generating more MP.
Currently the calculations in unstake are unproperly being made, and no tests catch this behavior.
Potential issue is accounts getting locked in process account after unstake due calculations on estimation underflowing.

Related to #128

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions