Update specs/core/0_beacon-chain.md

Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
Hsiao-Wei Wang 2019-03-03 03:57:48 -06:00 committed by GitHub
parent 1103fd1ee8
commit 07599b3a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1784,7 +1784,7 @@ def get_current_attestations(state: BeaconState) -> List[PendingAttestation]:
```python ```python
def get_current_total_balance(state: BeaconState) -> Gwei: 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, get_current_epoch(state)))
``` ```
```python ```python