Skip to content

Commit e7abed3

Browse files
committed
docs: remove unnecessary comments
1 parent ee32ad7 commit e7abed3

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

crates/blockchain/src/store.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)