From ce73a8327f40fcec81f7582bfed43815c1b417fd Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Mon, 28 Jan 2019 08:26:48 -0700 Subject: [PATCH] Update specs/core/0_beacon-chain.md Co-Authored-By: djrtwo --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 2606389e2..a2634c11a 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -980,7 +980,7 @@ def get_crosslink_committees_at_slot(state: BeaconState, """ epoch = slot_to_epoch(slot) current_epoch = get_current_epoch(state) - previous_epoch = current_epoch - 1 if epoch > GENESIS_EPOCH else current_epoch + previous_epoch = current_epoch - 1 if current_epoch > GENESIS_EPOCH else current_epoch next_epoch = current_epoch + 1 assert previous_epoch <= epoch < next_epoch