From 9135fd9085b68f2499040523bc650cab1eb863d5 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Tue, 16 Oct 2018 10:35:09 -0500 Subject: [PATCH] fix small typo --- specs/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/beacon-chain.md b/specs/beacon-chain.md index a4fefea91..75f37ee2e 100644 --- a/specs/beacon-chain.md +++ b/specs/beacon-chain.md @@ -436,7 +436,7 @@ def get_shards_and_committees_for_slot(crystallized_state: CrystallizedState, def get_block_hash(active_state: ActiveState, current_block: BeaconBlock, slot: int) -> Hash32: - earliest_slot_in_array = curblock.slot - len(active_state.recent_block_hashes) + earliest_slot_in_array = current_block.slot - len(active_state.recent_block_hashes) assert earliest_slot_in_array <= slot < current_block.slot return active_state.recent_block_hashes[slot - earliest_slot_in_array] ```