shifting payload_attestation_verification to separate module

This commit is contained in:
hopinheimer
2026-04-19 01:19:12 -04:00
parent ec111259c1
commit eef1bf6bb3
6 changed files with 305 additions and 333 deletions

View File

@@ -1337,7 +1337,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