Update 0_beacon-chain.md

This commit is contained in:
Justin
2019-05-03 22:22:19 +01:00
committed by GitHub
parent 197a7200ef
commit 4c1073fa2f

View File

@@ -1279,7 +1279,7 @@ def process_slots(state: BeaconState, slot: Slot) -> None:
assert state.slot < slot
while state.slot < slot:
process_slot(state)
# Process epoch on the last slot of every epoch
# Process epoch on the first slot of the next epoch
if (state.slot + 1) % SLOTS_PER_EPOCH == 0:
process_epoch(state)
state.slot += 1