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?
to your account
state.validator_balances[index] -= penalty
state.validator_balances[index] = max(state.validator_balances[index] - penalty, 0)
The text was updated successfully, but these errors were encountered:
One way to fix this generally would be to define decrement_balance that way in #728.
Sorry, something went wrong.
decrement_balance implemented 🎉
Successfully merging a pull request may close this issue.