mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 21:16:52 +00:00
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
|
```python
|
||||||
def get_previous_attestations(state: BeaconState) -> List[PendingAttestation]:
|
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
|
```python
|
||||||
|
Loading…
x
Reference in New Issue
Block a user