We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
stake()
mintBonusMP
When staking, we currently
account.balance
account
stakeAmount
The result is that we're accounting for stakeAmount twice, once as part of account.balance and once via stakeAmount. This needs to be fixed.
Also, provide a test that proofs the fix
The text was updated successfully, but these errors were encountered:
Fixed by #115
Sorry, something went wrong.
3esmit
No branches or pull requests
When staking, we currently
account.balance
(https://github.com/logos-co/staking/blob/develop/contracts/StakeManager.sol#L208)account
andstakeAmount
The result is that we're accounting for
stakeAmount
twice, once as part ofaccount.balance
and once viastakeAmount
.This needs to be fixed.
Also, provide a test that proofs the fix
The text was updated successfully, but these errors were encountered: