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(freezeV2): fix some problems #4823

Merged
merged 2 commits into from
Dec 1, 2022

Conversation

lxcmyf
Copy link
Contributor

@lxcmyf lxcmyf commented Dec 1, 2022

What does this PR do?

  1. fix deflation or expansion problems caused by precision
  2. deduct resource of old freezing first when calculate usage

Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@zhang0125 zhang0125 merged commit 1d80094 into tronprotocol:feature/stake_2.0 Dec 1, 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