Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
keithtensor committed Sep 16, 2024
1 parent 075c51e commit f9d3624
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions template/node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,10 @@ where
} = new_frontier_partial(&eth_config)?;

let maybe_registry = config.prometheus_config.as_ref().map(|cfg| &cfg.registry);
let mut net_config =
sc_network::config::FullNetworkConfiguration::<_, _, NB>::new(&config.network, maybe_registry.cloned());
let mut net_config = sc_network::config::FullNetworkConfiguration::<_, _, NB>::new(
&config.network,
maybe_registry.cloned(),
);
let peer_store_handle = net_config.peer_store_handle();
let metrics = NB::register_notification_metrics(maybe_registry);

Expand Down

0 comments on commit f9d3624

Please sign in to comment.