mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 13:06:34 +00:00
Update 0_beacon-chain.md
This commit is contained in:
parent
fb837400b2
commit
acc5f314ac
@ -1467,7 +1467,7 @@ def slash_validator(state: BeaconState, slashed_index: ValidatorIndex, whistlebl
|
|||||||
proposer_reward = whistleblowing_reward // PROPOSER_REWARD_QUOTIENT
|
proposer_reward = whistleblowing_reward // PROPOSER_REWARD_QUOTIENT
|
||||||
increase_balance(state, proposer_index, proposer_reward)
|
increase_balance(state, proposer_index, proposer_reward)
|
||||||
increase_balance(state, whistleblower_index, whistleblowing_reward - proposer_reward)
|
increase_balance(state, whistleblower_index, whistleblowing_reward - proposer_reward)
|
||||||
decrease_balance(state, slashed_index, whistleblower_reward)
|
decrease_balance(state, slashed_index, whistleblowing_reward)
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `prepare_validator_for_withdrawal`
|
#### `prepare_validator_for_withdrawal`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user