Skip to content

Conversation

@yyhrnk
Copy link
Contributor

@yyhrnk yyhrnk commented Dec 24, 2025

The backward block downloader was sending an explicit empty block batch when no headers remained after loading from the ETL collector. Consumers already treat a closed result feed channel as end-of-stream and stop on zero-length batches, so this extra send did not change observable behavior and only added protocol noise. The code now simply returns when no headers are left, relying on channel closure to signal completion.

@anacrolix anacrolix merged commit 0bb6828 into erigontech:main Jan 4, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants