Adjust is_transition_block call in fork-choice

This commit is contained in:
Mikhail Kalinin 2021-05-05 13:37:07 +06:00
parent 36032fd115
commit 79fc41146d
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def on_block(store: Store, signed_block: SignedBeaconBlock) -> None:
assert get_ancestor(store, block.parent_root, finalized_slot) == store.finalized_checkpoint.root
# [New in Merge]
if is_transition_block(pre_state, block.body):
if is_transition_block(pre_state, block):
# Delay consideration of block until PoW block is processed by the PoW node
pow_block = get_pow_block(block.body.execution_payload.parent_hash)
assert pow_block.is_processed