From 34ba645f7e62b41d3e523ac09d3744eb726a6dbe Mon Sep 17 00:00:00 2001 From: terence tsao Date: Wed, 24 Jul 2019 19:26:39 -0700 Subject: [PATCH] Update specs/core/0_fork-choice.md Co-Authored-By: Danny Ryan --- specs/core/0_fork-choice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_fork-choice.md b/specs/core/0_fork-choice.md index 7d89e3044..b909ce732 100644 --- a/specs/core/0_fork-choice.md +++ b/specs/core/0_fork-choice.md @@ -158,7 +158,7 @@ def on_block(store: Store, block: BeaconBlock) -> None: # Check that block is later than the finalized epoch slot assert block.slot > compute_start_slot_at_epoch(store.finalized_checkpoint.epoch) # Check the block is valid and compute the post-state - state = state_transition(pre_state, block, true) + state = state_transition(pre_state, block, True) # Add new state for this block to the store store.block_states[signing_root(block)] = state