Skip to content

Commit

Permalink
Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cyc60 committed Nov 18, 2024
1 parent d4beb08 commit 98b79ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw_utils/event_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(
processor.contract.events, processor.contract_event
).get_logs(argument_filters=argument_filters, fromBlock=from_block, toBlock=to_block)

# Start with half or max chunk size. 1kk chunks works only with powerful nodes.
# Start with half of max chunk size. 1kk chunks works only with powerful nodes.
start_chunk_size = self.max_scan_chunk_size // 2
# Scan in chunks, commit between.
self.chunk_size = chunk_size or start_chunk_size
Expand Down

0 comments on commit 98b79ef

Please sign in to comment.