mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(download): header downloader initial state (#1064)
This commit is contained in:
@ -161,14 +161,7 @@ impl Command {
|
||||
headers::linear::LinearDownloadBuilder::default()
|
||||
.request_limit(config.stages.headers.downloader_batch_size)
|
||||
.stream_batch_size(config.stages.headers.commit_threshold as usize)
|
||||
// NOTE: the head and target will be set from inside the stage before the
|
||||
// downloader is called
|
||||
.build(
|
||||
consensus.clone(),
|
||||
fetch_client.clone(),
|
||||
Default::default(),
|
||||
Default::default(),
|
||||
),
|
||||
.build(consensus.clone(), fetch_client.clone()),
|
||||
);
|
||||
|
||||
// Spawn bodies downloader
|
||||
|
||||
Reference in New Issue
Block a user