style: rm redundant Pipeline::new (#682)

This commit is contained in:
Matthias Seitz
2023-01-02 14:58:31 +01:00
committed by GitHub
parent ec69481af4
commit 13441ff299
2 changed files with 8 additions and 13 deletions

View File

@ -118,7 +118,7 @@ impl Command {
// cloneable on its own
// TODO: Remove magic numbers
let fetch_client = Arc::new(network.fetch_client().await?);
let mut pipeline = reth_stages::Pipeline::new()
let mut pipeline = reth_stages::Pipeline::default()
.push(HeaderStage {
downloader: headers::linear::LinearDownloadBuilder::default()
.batch_size(config.stages.headers.downloader_batch_size)