mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-27 10:54:47 +00:00
Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
fde66a7105
commit
c42cab87a7
@ -1789,7 +1789,7 @@ def get_current_total_balance(state: BeaconState) -> Gwei:
|
||||
|
||||
```python
|
||||
def get_previous_total_balance(state: BeaconState) -> Gwei:
|
||||
return get_total_balance(state, get_active_validator_indices(state.validator_registry, previous_epoch))
|
||||
return get_total_balance(state, get_active_validator_indices(state.validator_registry, get_previous_epoch(state)))
|
||||
```
|
||||
|
||||
```python
|
||||
|
Loading…
x
Reference in New Issue
Block a user