mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 01:14:58 -05:00
Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user