Polish merge/fork-choice.md

This commit is contained in:
Mikhail Kalinin 2021-03-25 17:53:15 +06:00
parent a23bde347b
commit 260a0a5273
1 changed files with 1 additions and 1 deletions

View File

@ -76,8 +76,8 @@ def on_block(store: Store, signed_block: SignedBeaconBlock) -> None:
# [New in Merge] # [New in Merge]
if is_transition_block(pre_state, block.body): if is_transition_block(pre_state, block.body):
pow_block = get_pow_block(block.body.application_payload.block_hash)
# Delay consideration of block until PoW block is processed by the PoW node # Delay consideration of block until PoW block is processed by the PoW node
pow_block = get_pow_block(block.body.application_payload.block_hash)
assert pow_block.is_processed assert pow_block.is_processed
assert is_valid_transition_block(pow_block) assert is_valid_transition_block(pow_block)