From 93b18d5160d02d040d5c23dd18c979a1c1b3d0d9 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 2 Jan 2019 13:51:57 +0000 Subject: [PATCH] Fix typo --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 20471ad80..33fcc5307 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1731,7 +1731,7 @@ def process_penalties_and_exits(state: BeaconState) -> None: total_at_start = state.latest_penalized_exit_balances[(e + 1) % LATEST_PENALIZED_EXIT_LENGTH] total_at_end = state.latest_penalized_exit_balances[e] total_penalties = total_at_end - total_at_start - penalty = get_effective_balance(state, i) * min(total_penalties * 3, total_balance) // total_balance + penalty = get_effective_balance(state, index) * min(total_penalties * 3, total_balance) // total_balance state.validator_balances[index] -= penalty def eligible(index):