Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshy Orndorff committed Nov 27, 2023
1 parent 9794529 commit cfcdc2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parachain-node/src/dev_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub fn new_partial(

/// Builds a new development service. This service uses manual seal, and mocks
/// the parachain inherent.
pub fn new_dev(mut config: Configuration) -> Result<TaskManager, ServiceError> {
pub fn new_dev(config: Configuration) -> Result<TaskManager, ServiceError> {
use async_io::Timer;
use sc_consensus_manual_seal::{run_manual_seal, EngineCommand, ManualSealParams};

Expand All @@ -128,7 +128,7 @@ pub fn new_dev(mut config: Configuration) -> Result<TaskManager, ServiceError> {
select_chain,
transaction_pool,
other: telemetry,
} = new_partial(&mut config)?;
} = new_partial(&config)?;

let net_config = sc_network::config::FullNetworkConfiguration::new(&config.network);

Expand Down

0 comments on commit cfcdc2b

Please sign in to comment.