Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Incorrect reward calculation.

Function stake_reward may return the wrong value of the reward, if there were no other operations with the contract in this block. TotalStakingWeight will have old value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.