Fix spelling
This commit is contained in:
parent
a48a6f46c4
commit
9353c71a6d
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue