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

Staking rewards fix #34

Merged
merged 2 commits into from
Apr 11, 2023
Merged

Staking rewards fix #34

merged 2 commits into from
Apr 11, 2023

Conversation

chipshort
Copy link
Contributor

closes #30

The timestamp was not updated if there were no rewards (e.g. because of no stake), causing the next call to assume a longer staking time than it actually had.

Copy link
Contributor

@ueco-jb ueco-jb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Good catch

@chipshort chipshort merged commit efb89f5 into main Apr 11, 2023
@chipshort chipshort deleted the staking-rewards-fix branch April 11, 2023 13:57
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.

Staking rewards accrue differently when redelegated
2 participants