diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index a84d6fde8..dadd9d3a5 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1784,7 +1784,7 @@ def get_current_attestations(state: BeaconState) -> List[PendingAttestation]: ```python def get_current_total_balance(state: BeaconState) -> Gwei: - return get_total_balance(state, get_active_validator_indices(state.validator_registry, current_epoch)) + return get_total_balance(state, get_active_validator_indices(state.validator_registry, get_current_epoch(state))) ``` ```python