Update 0_fork-choice.md

This commit is contained in:
terence tsao 2019-07-24 15:41:26 -07:00 committed by protolambda
parent a6cecaf212
commit bb5a721707
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 1 additions and 1 deletions

View File

@ -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)
state = state_transition(pre_state, block, true)
# Add new state for this block to the store
store.block_states[signing_root(block)] = state