Another innocent fix from the interop branch

This commit is contained in:
Zahary Karadjov 2019-09-27 19:53:02 +03:00 committed by zah
parent a336285922
commit 66984c44ce
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ proc process_slots*(state: var HashedBeaconState, slot: Slot) =
# Note: Genesis epoch = 0, no need to test if before Genesis
process_epoch(state.data)
state.data.slot += 1
state.root = hash_tree_root(state.data)
proc state_transition*(
state: var HashedBeaconState, blck: BeaconBlock, flags: UpdateFlags): bool =