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: wrong balance update in HandleSubmitBlockReward #264

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

minh-bq
Copy link
Contributor

@minh-bq minh-bq commented Apr 18, 2023

We mistakenly use SetBalance instead of AddBalance to update the balance of miner when transfer the token from SystemAddress to miner. This commit corrects the balance update.

We mistakenly use SetBalance instead of AddBalance to update the balance of
miner when transfer the token from SystemAddress to miner. This commit corrects
the balance update.
@minh-bq minh-bq requested a review from DNK90 April 18, 2023 02:58
@minh-bq minh-bq merged commit 1bf662a into axieinfinity:master Apr 18, 2023
@minh-bq minh-bq deleted the fix/submit-block-reward branch April 18, 2023 03:25
andicrypt pushed a commit to andicrypt/ronin that referenced this pull request Nov 1, 2023
We mistakenly use SetBalance instead of AddBalance to update the balance of
miner when transfer the token from SystemAddress to miner. This commit corrects
the balance update.
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