mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 20:57:10 +00:00
Merge branch 'unstable' of https://github.com/sigp/lighthouse into heze-fork-boilerplate
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user