Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pawanjay176 committed Sep 15, 2022
1 parent 3752d7b commit 6d78717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator_client/src/beacon_node_fallback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ impl<T: SlotClock, E: EthSpec> BeaconNodeFallback<T, E> {

let errors: Vec<_> = results.into_iter().filter_map(|res| res.err()).collect();

if errors.len() > 0 {
if !errors.is_empty() {
Err(Errors(errors))
} else {
Ok(())
Expand Down

0 comments on commit 6d78717

Please sign in to comment.