File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1341,8 +1341,6 @@ fn build_block(
13411341 known_block_roots : & HashSet < H256 > ,
13421342 aggregated_payloads : & HashMap < H256 , ( AttestationData , Vec < AggregatedSignatureProof > ) > ,
13431343) -> Result < ( Block , Vec < AggregatedSignatureProof > , PostBlockCheckpoints ) , StoreError > {
1344- // Paired (attestation, proof) tuples so the two can never drift out of
1345- // sync. Unzipped once at the end for the block body and signatures list.
13461344 let mut selected: Vec < ( AggregatedAttestation , AggregatedSignatureProof ) > = Vec :: new ( ) ;
13471345
13481346 if !aggregated_payloads. is_empty ( ) {
@@ -1423,7 +1421,6 @@ fn build_block(
14231421 // aggregation so each AttestationData appears at most once (leanSpec #510).
14241422 let compacted = compact_attestations ( selected, head_state) ?;
14251423
1426- // Unzip paired entries into the parallel lists the block expects.
14271424 let ( aggregated_attestations, aggregated_signatures) : ( Vec < _ > , Vec < _ > ) =
14281425 compacted. into_iter ( ) . unzip ( ) ;
14291426
You can’t perform that action at this time.
0 commit comments