Skip to content

Commit d47be66

Browse files
committed
remove redundant comparison
1 parent 88cbb1a commit d47be66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon-chain/blockchain/process_block.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ func (s *Service) pruneElectraAttsFromPool(ctx context.Context, headState state.
475475
for i, c := range committees {
476476
ab := bitfield.NewBitlist(uint64(len(c)))
477477
for j := uint64(0); j < uint64(len(c)); j++ {
478-
ab.SetBitAt(j, att.GetAggregationBits().BitAt(j+offset) == true)
478+
ab.SetBitAt(j, att.GetAggregationBits().BitAt(j+offset))
479479
}
480480

481481
cb := primitives.NewAttestationCommitteeBits()

0 commit comments

Comments
 (0)