From e8257db32062a2a674bef8f1c4689d93ba5e0e26 Mon Sep 17 00:00:00 2001 From: vbuterin Date: Fri, 22 Mar 2019 05:40:41 -0500 Subject: [PATCH] Removed hanging min --- 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 b374b094f..a4719c702 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1886,7 +1886,7 @@ def get_inactivity_penalty(state: BeaconState, index: ValidatorIndex, epochs_sin if epochs_since_finality <= 4: extra_penalty = 0 else: - extra_penalty = get_effective_balance(state, index) * min(epochs_since_finality // INACTIVITY_PENALTY_QUOTIENT // 2 + extra_penalty = get_effective_balance(state, index) * epochs_since_finality // INACTIVITY_PENALTY_QUOTIENT // 2 return get_base_reward(state, index) + extra_penalty ```