Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
46269310ee
commit
e0b8eea7d6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue