From 3d3df1b3b21429e774b3c6dd0978ab395a3c58f9 Mon Sep 17 00:00:00 2001 From: Florin Chirica Date: Wed, 3 Jul 2024 03:15:22 +0300 Subject: [PATCH] [CHIA-884] Fix timelord log spam. --- chia/timelord/timelord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chia/timelord/timelord.py b/chia/timelord/timelord.py index 21aca2993630..dddec0938adc 100644 --- a/chia/timelord/timelord.py +++ b/chia/timelord/timelord.py @@ -430,6 +430,7 @@ async def _submit_iterations(self) -> None: for iteration in self.iters_to_submit[chain]: if iteration in self.iters_submitted[chain]: continue + self.iters_submitted[chain].append(iteration) log.debug(f"Submitting iterations to {chain}: {iteration}") assert iteration > 0 prefix = str(len(str(iteration))) @@ -438,7 +439,6 @@ async def _submit_iterations(self) -> None: iter_str = prefix + str(iteration) writer.write(iter_str.encode()) await writer.drain() - self.iters_submitted[chain].append(iteration) def _clear_proof_list(self, iters: uint64) -> List[Tuple[Chain, VDFInfo, VDFProof, int]]: return [