func (m *Mempool) ConnectBlock(b *primitives.Block) {
	for _, a := range b.BlockBody.Attestations {
		attHash, err := ssz.HashTreeRoot(primitives.AttestationDataAndCustodyBit{Data: a.Data, PoCBit: false})
		if err != nil {
			continue
		}
		m.RemoveAttestationsFromBitfield(attHash, a.ParticipationBitfield)
	}
}
// ConnectBlock is part of the blockchain notifee.
ConnectBlock is part of the blockchain notifee.
// ConnectBlock is part of the blockchain notifee .
func (m *Mempool) ConnectBlock(b *primitives.Block) {
	for _, a := range b.BlockBody.Attestations {
		attHash, err := ssz.HashTreeRoot(primitives.AttestationDataAndCustodyBit{Data: a.Data, PoCBit: false})
		if err != nil {
			continue
		}
		m.RemoveAttestationsFromBitfield(attHash, a.ParticipationBitfield)
	}
}
func ( m * Mempool ) ConnectBlock ( b * primitives . Block ) { for _ , a := range b . BlockBody . Attestations { attHash , err := ssz . HashTreeRoot ( primitives . AttestationDataAndCustodyBit { Data : a . Data , PoCBit : false } ) if err != nil { continue } m . RemoveAttestationsFromBitfield ( attHash , a . ParticipationBitfield ) } }
ConnectBlock is part of the blockchain notifee.
ConnectBlock is part of the blockchain notifee .