Skip to content

Commit

Permalink
rm comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ukint-vs committed Dec 19, 2023
1 parent b630f95 commit d22e442
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,25 +270,7 @@ where
registry: config.prometheus_registry(),
telemetry: telemetry.as_ref().map(|x| x.handle()),
offchain_tx_pool_factory: OffchainTransactionPoolFactory::new(transaction_pool.clone()),
}, // babe_link.clone(),
// block_import.clone(),
// Some(Box::new(justification_import)),
// client.clone(),
// select_chain.clone(),
// move |_, ()| async move {
// let timestamp = sp_timestamp::InherentDataProvider::from_system_time();

// let slot =
// sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
// *timestamp,
// slot_duration,
// );

// Ok((slot, timestamp))
// },
// &task_manager.spawn_essential_handle(),
// config.prometheus_registry(),
// telemetry.as_ref().map(|x| x.handle()),
},
)?;

let import_setup = (block_import, grandpa_link, babe_link);
Expand Down

0 comments on commit d22e442

Please # to comment.