Skip to content
5 changes: 0 additions & 5 deletions cl/aggregation/pool_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ func NewAggregationPool(
}

func (p *aggregationPoolImpl) AddAttestation(inAtt *solid.Attestation) error {
// check if it's single attestation
if utils.BitsOnCount(inAtt.AggregationBits()) != 1 {
return fmt.Errorf("exactly one aggregation bit should be set")
}

// use hash of attestation data as key
hashRoot, err := inAtt.AttestantionData().HashSSZ()
if err != nil {
Expand Down
Loading