Update specs/core/1_new_shards.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
parent
c9cc110ab1
commit
2ea8eb9cc3
|
@ -494,7 +494,7 @@ def process_light_client_signatures(state: BeaconState, block: BeaconBlock) -> N
|
|||
### Epoch transition
|
||||
|
||||
```python
|
||||
def phase_1_epoch_transition(state):
|
||||
def phase_1_epoch_transition(state: BeaconState) -> None:
|
||||
# Slowly remove validators from the "online" set if they do not show up
|
||||
for index in range(len(state.validators)):
|
||||
if state.online_countdown[index] != 0:
|
||||
|
|
Loading…
Reference in New Issue