Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouziel committed Feb 17, 2025
1 parent 0f385cf commit 16b44b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions counterparty-core/counterpartycore/lib/backend/rsfetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,7 @@ def prefetch_blocks(self):
time.sleep(0.1)
elif not self.stopped_event.is_set():
retry += 1
logger.debug(
f"Waiting for to prefetch block {expected_height}...({retry / 10}s)"
)
logger.debug(f"Waiting to prefetch block {expected_height}...({retry / 10}s)")

Check warning on line 181 in counterparty-core/counterpartycore/lib/backend/rsfetcher.py

View check run for this annotation

Codecov / codecov/patch

counterparty-core/counterpartycore/lib/backend/rsfetcher.py#L180-L181

Added lines #L180 - L181 were not covered by tests
# Use Event's wait method instead of time.sleep for better responsiveness
self.stopped_event.wait(retry / 10) # noqa: S311

Check warning on line 183 in counterparty-core/counterpartycore/lib/backend/rsfetcher.py

View check run for this annotation

Codecov / codecov/patch

counterparty-core/counterpartycore/lib/backend/rsfetcher.py#L183

Added line #L183 was not covered by tests
except Exception as e:
Expand Down

0 comments on commit 16b44b2

Please sign in to comment.