Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
5ceec70dd3
commit
6c1abbc2fc
|
@ -1782,7 +1782,7 @@ def get_current_attestations(state: BeaconState) -> List[PendingAttestation]:
|
||||||
```
|
```
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def get_current_total_balance(state: BeaconState):
|
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, current_epoch))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue