Skip to content

Commit

Permalink
".git/.scripts/commands/fmt/fmt.sh"
Browse files Browse the repository at this point in the history
  • Loading branch information
command-bot committed Nov 24, 2023
1 parent 4e2af2d commit 13e13ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions polkadot/node/network/statement-distribution/src/v2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3177,9 +3177,7 @@ pub(crate) fn answer_request(state: &mut State, message: ResponderMessage) {
.map(|s| s.as_unchecked().clone())
.inspect(|s| {
let index_in_group = |v: ValidatorIndex| group.iter().position(|x| &v == x);
let Some(i) = index_in_group(s.unchecked_validator_index()) else {
return
};
let Some(i) = index_in_group(s.unchecked_validator_index()) else { return };

match s.unchecked_payload() {
CompactStatement::Seconded(_) => {
Expand Down

0 comments on commit 13e13ae

Please sign in to comment.