Merge pull request #1234 from ethereum/JustinDrake-patch-14

Fix typo
This commit is contained in:
Carl Beekhuizen 2019-06-30 11:09:50 +02:00 committed by GitHub
commit 14701aa094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1485,7 +1485,7 @@ def process_slashings(state: BeaconState) -> None:
```python
def process_final_updates(state: BeaconState) -> None:
current_epoch = get_current_epoch(state)
next_epoch = Shard(current_epoch + 1)
next_epoch = Epoch(current_epoch + 1)
# Reset eth1 data votes
if (state.slot + 1) % SLOTS_PER_ETH1_VOTING_PERIOD == 0:
state.eth1_data_votes = []