Skip to content

Commit

Permalink
Minor comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww committed Oct 28, 2021
1 parent 6016347 commit 8ecbffa
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions specs/merge/fork-choice.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,15 @@ def validate_merge_block(block: BeaconBlock) -> None:
"""
Check the parent PoW block of execution payload is a valid terminal PoW block.
Note: Unavailable PoW block(s) may later become available and a client software MAY delay
a call to ``validate_merge_block`` until the PoW block(s) become available.
Note: Unavailable PoW block(s) may later become available,
and a client software MAY delay a call to ``validate_merge_block``
until the PoW block(s) become available.
"""
pow_block = get_pow_block(block.body.execution_payload.parent_hash)
# Check if `pow_block` is unavailable
# Check if `pow_block` is available
assert pow_block is not None
pow_parent = get_pow_block(pow_block.parent_hash)
# Check if `pow_parent` is unavailable
# Check if `pow_parent` is available
assert pow_parent is not None
# Check if `pow_block` is a valid terminal PoW block
assert is_valid_terminal_pow_block(pow_block, pow_parent)
Expand Down

0 comments on commit 8ecbffa

Please sign in to comment.