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
state.validator_balances[validator_index]
state.validator_balances[index] -= penalty
to
state.validator_balances[index] = max(state.validator_balances[index] - penalty, 0)
The text was updated successfully, but these errors were encountered:
process_slashings
One way to fix this generally would be to define decrement_balance that way in #728.
decrement_balance
Sorry, something went wrong.
decrement_balance implemented 🎉
No branches or pull requests
Issue
state.validator_balances[validator_index]
for penalties.to
The text was updated successfully, but these errors were encountered: