diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index bd14fa079..a84d6fde8 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1779,7 +1779,7 @@ We define some helper functions: ```python def get_current_attestations(state: BeaconState) -> List[PendingAttestation]: - return [a for a in state.latest_attestations if current_epoch == slot_to_epoch(a.data.slot)] + return [a for a in state.latest_attestations if get_current_epoch(state) == slot_to_epoch(a.data.slot)] ``` ```python