Polish merge/fork-choice.md
This commit is contained in:
parent
a23bde347b
commit
260a0a5273
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue