From 8ecbffa821818ecd89fa5029dd003662407c6b65 Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Thu, 28 Oct 2021 16:06:58 +0800 Subject: [PATCH] Minor comment fix --- specs/merge/fork-choice.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/specs/merge/fork-choice.md b/specs/merge/fork-choice.md index eec084f62..e1e12ad7a 100644 --- a/specs/merge/fork-choice.md +++ b/specs/merge/fork-choice.md @@ -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)