Skip to content

Commit

Permalink
fix condtion
Browse files Browse the repository at this point in the history
  • Loading branch information
almogdepaz committed Aug 14, 2024
1 parent 8693e4b commit d864528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chia/consensus/multiprocess_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ async def pre_validate_blocks_multiprocessing(
curr.sub_epoch_summary_included is None
or num_blocks_seen < constants.NUMBER_OF_TIMESTAMPS
or num_sub_slots_found < num_sub_slots_to_look_for
or num_blocks_seen < 3 * constants.MAX_SUB_SLOT_BLOCKS + constants.MIN_BLOCKS_PER_CHALLENGE_BLOCK + 3
) and curr.height > 0:
if curr.first_in_sub_slot:
assert curr.finished_challenge_slot_hashes is not None
Expand Down

0 comments on commit d864528

Please sign in to comment.