mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
fix(sync): headers stage progress (#467)
* fix(sync): headers stage progress * add tests to head/tip and split suite * fix(sync): headers stage progress * add tests to head/tip and split suite * fix local tip and address comments * rename error
This commit is contained in:
@@ -67,11 +67,7 @@ impl Downloader for TestHeaderDownloader {
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl HeaderDownloader for TestHeaderDownloader {
|
||||
fn stream(
|
||||
&self,
|
||||
_head: SealedHeader,
|
||||
_forkchoice: ForkchoiceState,
|
||||
) -> DownloadStream<'_, SealedHeader> {
|
||||
fn stream(&self, _head: SealedHeader, _tip: H256) -> DownloadStream<'_, SealedHeader> {
|
||||
Box::pin(self.create_download())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user