Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
review feedback
Signed-off-by: Andrei Sandu <[email protected]>
  • Loading branch information
sandreim committed Apr 2, 2024
commit a1853903cdebe892815b158b54a5285276882341
10 changes: 4 additions & 6 deletions polkadot/node/network/statement-distribution/src/v2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3081,13 +3081,11 @@ pub(crate) async fn handle_response<Context>(
relay_parent_state.session,
|v| per_session.session_info.validators.get(v).map(|x| x.clone()),
|para, g_index| {
let expected_groups = relay_parent_state.groups_per_para.get(&para);
let Some(expected_groups) = relay_parent_state.groups_per_para.get(&para) else {
return false
};

expected_groups.is_some() &&
expected_groups
.expect("checked is_some(); qed")
.iter()
.any(|g| g == &g_index)
expected_groups.iter().any(|g| g == &g_index)
},
disabled_mask,
);
Expand Down