Skip to content

Commit

Permalink
Fix a typo when picking the best unfinished block in test_request_unf…
Browse files Browse the repository at this point in the history
…inished_block2.
  • Loading branch information
AmineKhaldi committed Jan 15, 2025
1 parent 8f484e6 commit e1f1cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chia/_tests/core/full_node/test_full_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1634,7 +1634,7 @@ async def test_request_unfinished_block2(wallet_nodes, self_hostname):
if best_unf is None:
best_unf = unf
elif (
unf.foliage.foliage_transaction_block_hash is not None
best_unf.foliage.foliage_transaction_block_hash is not None
and unf.foliage.foliage_transaction_block_hash < best_unf.foliage.foliage_transaction_block_hash
):
best_unf = unf
Expand Down

0 comments on commit e1f1cb1

Please sign in to comment.