From d864528b342cd2ce5d52b88d741858dc809130f1 Mon Sep 17 00:00:00 2001 From: almogdepaz Date: Thu, 15 Aug 2024 01:09:19 +0300 Subject: [PATCH] fix condtion --- chia/consensus/multiprocess_validation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/chia/consensus/multiprocess_validation.py b/chia/consensus/multiprocess_validation.py index 517a71d2cb87..4716714e8c6c 100644 --- a/chia/consensus/multiprocess_validation.py +++ b/chia/consensus/multiprocess_validation.py @@ -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