mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 07:45:03 -05:00
Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
@@ -1793,7 +1793,7 @@ def get_previous_total_balance(state: BeaconState) -> Gwei:
|
||||
|
||||
```python
|
||||
def get_previous_attestations(state: BeaconState) -> List[PendingAttestation]:
|
||||
return [a for a in state.latest_attestations if previous_epoch == slot_to_epoch(a.data.slot)]
|
||||
return [a for a in state.latest_attestations if previous_epoch == slot_to_epoch(a.data.slot)]
|
||||
```
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user