Update specs/core/0_beacon-chain.md

Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
Hsiao-Wei Wang 2018-11-23 15:10:59 -05:00 committed by GitHub
parent 2375e0ce28
commit 048090acf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -699,7 +699,7 @@ def min_empty_validator(validators: List[ValidatorRecord], current_slot: int):
```
```python
def get_fork_version(state: State, slot: uint64):
def get_fork_version(state: State, slot: int) -> int:
return state.pre_fork_version if slot < state.fork_slot_number else state.post_fork_version
```