difftreelog
Fix code style
in: master
3 files changed
node/cli/src/chain_spec.rsdiffbeforeafterboth707071pub enum ServiceId {71pub enum ServiceId {72 Prod,72 Prod,73 Dev73 Dev,74}74}757576pub trait ServiceIdentification {76pub trait ServiceIdentification {node/cli/src/command.rsdiffbeforeafterbothno syntactic changes
node/cli/src/service.rsdiffbeforeafterboth220220221 let select_chain = match service_id {221 let select_chain = match service_id {222 ServiceId::Prod => Some(sc_consensus::LongestChain::new(backend.clone())),222 ServiceId::Prod => Some(sc_consensus::LongestChain::new(backend.clone())),223 ServiceId::Dev => None223 ServiceId::Dev => None,224 };224 };225225226 let transaction_pool = sc_transaction_pool::BasicPool::new_full(226 let transaction_pool = sc_transaction_pool::BasicPool::new_full(656 task_manager: &TaskManager,658 task_manager: &TaskManager,657) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient<RuntimeApi, ExecutorDispatch>>, sc_service::Error>659) -> Result<660 sc_consensus::DefaultImportQueue<Block, FullClient<RuntimeApi, ExecutorDispatch>>,661 sc_service::Error,662>658where663where659 RuntimeApi: sp_api::ConstructRuntimeApi<Block, FullClient<RuntimeApi, ExecutorDispatch>>664 RuntimeApi: sp_api::ConstructRuntimeApi<Block, FullClient<RuntimeApi, ExecutorDispatch>>716 filter_pool,717 frontier_backend,718 _telemetry_worker_handle,719 fee_history_cache,720 ),721 } = new_partial::<RuntimeApi, ExecutorDispatch, _>(721 } = new_partial::<RuntimeApi, ExecutorDispatch, _>(722 &config,722 &config,