Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
2375e0ce28
commit
048090acf6
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue