From 632a57b017148c527001d328a2dd5f60ea45cc6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Thu, 10 Aug 2023 11:42:34 +0100 Subject: [PATCH] cargo fmt --- beacon_node/lighthouse_network/src/config.rs | 2 +- beacon_node/lighthouse_network/src/discovery/enr.rs | 2 +- beacon_node/lighthouse_network/src/discovery/enr_ext.rs | 2 +- beacon_node/src/cli.rs | 2 +- beacon_node/src/config.rs | 2 +- boot_node/src/config.rs | 2 +- lighthouse/tests/beacon_node.rs | 2 +- testing/simulator/src/local_network.rs | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/beacon_node/lighthouse_network/src/config.rs b/beacon_node/lighthouse_network/src/config.rs index 293afc2db51..508e9339f43 100644 --- a/beacon_node/lighthouse_network/src/config.rs +++ b/beacon_node/lighthouse_network/src/config.rs @@ -598,4 +598,4 @@ pub const fn is_global_ipv6(addr: &Ipv6Addr) -> bool { || is_documentation(addr) || is_unique_local(addr) || is_unicast_link_local(addr)) -} \ No newline at end of file +} diff --git a/beacon_node/lighthouse_network/src/discovery/enr.rs b/beacon_node/lighthouse_network/src/discovery/enr.rs index b07d55776bd..6921b3aeec9 100644 --- a/beacon_node/lighthouse_network/src/discovery/enr.rs +++ b/beacon_node/lighthouse_network/src/discovery/enr.rs @@ -283,4 +283,4 @@ pub fn save_enr_to_disk(dir: &Path, enr: &Enr, log: &slog::Logger) { ); } } -} \ No newline at end of file +} diff --git a/beacon_node/lighthouse_network/src/discovery/enr_ext.rs b/beacon_node/lighthouse_network/src/discovery/enr_ext.rs index 8ab882728f2..feff96fe775 100644 --- a/beacon_node/lighthouse_network/src/discovery/enr_ext.rs +++ b/beacon_node/lighthouse_network/src/discovery/enr_ext.rs @@ -397,4 +397,4 @@ mod tests { assert_eq!(enr.node_id(), node_id); } -} \ No newline at end of file +} diff --git a/beacon_node/src/cli.rs b/beacon_node/src/cli.rs index 6ad6943b0d9..c1452a92d9c 100644 --- a/beacon_node/src/cli.rs +++ b/beacon_node/src/cli.rs @@ -1182,4 +1182,4 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> { .takes_value(true) .possible_values(ProgressiveBalancesMode::VARIANTS) ) -} \ No newline at end of file +} diff --git a/beacon_node/src/config.rs b/beacon_node/src/config.rs index 39a79f1945a..22ef5ba904a 100644 --- a/beacon_node/src/config.rs +++ b/beacon_node/src/config.rs @@ -1438,4 +1438,4 @@ where .into_iter() .next() .ok_or(format!("Must provide at least one value to {}", flag_name)) -} \ No newline at end of file +} diff --git a/boot_node/src/config.rs b/boot_node/src/config.rs index cef57e4ed41..9c7c2973abf 100644 --- a/boot_node/src/config.rs +++ b/boot_node/src/config.rs @@ -190,4 +190,4 @@ impl BootNodeConfigSerialization { enable_enr_auto_update: discv5_config.enr_update, } } -} \ No newline at end of file +} diff --git a/lighthouse/tests/beacon_node.rs b/lighthouse/tests/beacon_node.rs index 937da98bbb8..4a07df3ea33 100644 --- a/lighthouse/tests/beacon_node.rs +++ b/lighthouse/tests/beacon_node.rs @@ -2358,4 +2358,4 @@ fn progressive_balances_fast() { ProgressiveBalancesMode::Fast ) }); -} \ No newline at end of file +} diff --git a/testing/simulator/src/local_network.rs b/testing/simulator/src/local_network.rs index 26e91065654..02d844bf3d0 100644 --- a/testing/simulator/src/local_network.rs +++ b/testing/simulator/src/local_network.rs @@ -315,4 +315,4 @@ impl LocalNetwork { ); genesis_time - now } -} \ No newline at end of file +}