Merge branch 'unstable' of https://github.com/sigp/lighthouse into gloas-parent-envelope-unknown-lookup

This commit is contained in:
Eitan Seri-Levi
2026-04-28 16:33:52 +02:00
50 changed files with 3525 additions and 172 deletions

View File

@@ -1351,7 +1351,7 @@ where
let ptc_indices: Vec<usize> = attestation
.attesting_indices
.iter()
.filter_map(|vi| ptc.iter().position(|&p| p == *vi as usize))
.filter_map(|validator_index| ptc.iter().position(|&p| p == *validator_index as usize))
.collect();
// Check that all the attesters are in the PTC