From c144844279ce9d0065d00f0b234e6b321b1d48fb Mon Sep 17 00:00:00 2001 From: terence tsao Date: Wed, 3 Nov 2021 20:31:31 -0700 Subject: [PATCH] Lint fails, it should be assert? --- specs/merge/fork-choice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/merge/fork-choice.md b/specs/merge/fork-choice.md index a013f426b..11ddd5ac3 100644 --- a/specs/merge/fork-choice.md +++ b/specs/merge/fork-choice.md @@ -115,7 +115,7 @@ def validate_merge_block(block: BeaconBlock) -> None: if TERMINAL_BLOCK_HASH != Hash32(): # If `TERMINAL_BLOCK_HASH` is used as an override, the activation epoch must be reached. assert compute_epoch_at_slot(block.slot) >= TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH - return block.body.execution_payload.parent_hash == TERMINAL_BLOCK_HASH + assert block.body.execution_payload.parent_hash == TERMINAL_BLOCK_HASH pow_block = get_pow_block(block.body.execution_payload.parent_hash) # Check if `pow_block` is available