Some small changes (#5739)

This commit is contained in:
ethDreamer
2024-05-08 11:40:08 -05:00
committed by GitHub
parent 90179d4a88
commit f30246b9d4
2 changed files with 5 additions and 3 deletions

View File

@@ -239,6 +239,7 @@ impl<E: EthSpec> AttestationMap<E> {
let attestation_map = self.checkpoint_map.entry(checkpoint).or_default();
let attestations = attestation_map.attestations.entry(data).or_default();
// TODO(electra):
// Greedily aggregate the attestation with all existing attestations.
// NOTE: this is sub-optimal and in future we will remove this in favour of max-clique
// aggregation.