Update 0_beacon-chain.md

This commit is contained in:
Justin
2019-04-14 17:04:36 +10:00
committed by GitHub
parent d01fb80fd4
commit 15bb9676d5

View File

@@ -1276,7 +1276,7 @@ def get_delayed_activation_exit_epoch(epoch: Epoch) -> Epoch:
def get_churn_limit(state: BeaconState) -> int:
return max(
MIN_PER_EPOCH_CHURN_LIMIT,
MAX_FULL_CHURN_EPOCHS // len(get_active_validators(state, get_current_epoch(state)))
MAX_FULL_CHURN_EPOCHS // len(get_active_validator_indices(state, get_current_epoch(state)))
)
```