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 misbehavior of validator's unstaking, eg: issue 197. #206

Closed
wants to merge 4 commits into from

Conversation

shaitao
Copy link
Contributor

@shaitao shaitao commented Jan 27, 2022

Fix the issue.

This problem arised because the code use a random state to generate a random publick key for undelegation, but it always generate a same key.

  • make sure that you have executed all the following process and no errors occur

    • make fmt
    • make lint
    • make test
  • The major changes of this PR

A new "random" public key generation.

Clean paid delegation completely.

Add a height to fix this.

  • Extra documentations

@tiannian tiannian closed this Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants