Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jxs committed Aug 10, 2023
1 parent 0ff3c92 commit 632a57b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion beacon_node/lighthouse_network/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}
2 changes: 1 addition & 1 deletion beacon_node/lighthouse_network/src/discovery/enr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,4 @@ pub fn save_enr_to_disk(dir: &Path, enr: &Enr, log: &slog::Logger) {
);
}
}
}
}
2 changes: 1 addition & 1 deletion beacon_node/lighthouse_network/src/discovery/enr_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,4 +397,4 @@ mod tests {

assert_eq!(enr.node_id(), node_id);
}
}
}
2 changes: 1 addition & 1 deletion beacon_node/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1182,4 +1182,4 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
.takes_value(true)
.possible_values(ProgressiveBalancesMode::VARIANTS)
)
}
}
2 changes: 1 addition & 1 deletion beacon_node/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1438,4 +1438,4 @@ where
.into_iter()
.next()
.ok_or(format!("Must provide at least one value to {}", flag_name))
}
}
2 changes: 1 addition & 1 deletion boot_node/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,4 @@ impl BootNodeConfigSerialization {
enable_enr_auto_update: discv5_config.enr_update,
}
}
}
}
2 changes: 1 addition & 1 deletion lighthouse/tests/beacon_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2358,4 +2358,4 @@ fn progressive_balances_fast() {
ProgressiveBalancesMode::Fast
)
});
}
}
2 changes: 1 addition & 1 deletion testing/simulator/src/local_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,4 +315,4 @@ impl<E: EthSpec> LocalNetwork<E> {
);
genesis_time - now
}
}
}

0 comments on commit 632a57b

Please sign in to comment.