mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 04:24:56 -05:00
Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
@@ -1787,7 +1787,7 @@ def get_current_total_balance(state: BeaconState) -> Gwei:
|
||||
```
|
||||
|
||||
```python
|
||||
def get_previous_total_balance(state: BeaconState):
|
||||
def get_previous_total_balance(state: BeaconState) -> Gwei:
|
||||
return get_total_balance(state, get_active_validator_indices(state.validator_registry, previous_epoch))
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user