Merge branch 'unstable' of https://github.com/sigp/lighthouse into heze-fork-boilerplate

This commit is contained in:
Eitan Seri-Levi
2026-04-27 12:51:20 +02:00
11 changed files with 1014 additions and 16 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