mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 20:15:06 -05:00
Fix spelling
This commit is contained in:
@@ -79,7 +79,7 @@ def get_pow_block_at_terminal_total_difficulty(pow_chain: Sequence[PowBlock]) ->
|
||||
|
||||
def get_terminal_pow_block(pow_chain: Sequence[PowBlock]) -> Optional[PowBlock]:
|
||||
if TERMINAL_BLOCK_HASH != Hash32():
|
||||
# Terminal lock hash override takes precedence over terminal total difficulty
|
||||
# Terminal block hash override takes precedence over terminal total difficulty
|
||||
pow_block_overrides = [block for block in pow_chain if block.block_hash == TERMINAL_BLOCK_HASH]
|
||||
if len(pow_block_overrides) != 0:
|
||||
return pow_block_overrides[0]
|
||||
|
||||
Reference in New Issue
Block a user