diff --git a/core/txpool/blobpool/blobpool.go b/core/txpool/blobpool/blobpool.go index 966f4b7772..a48be6f294 100644 --- a/core/txpool/blobpool/blobpool.go +++ b/core/txpool/blobpool/blobpool.go @@ -571,7 +571,6 @@ func (p *BlobPool) parseTransaction(id uint64, size uint32, blob []byte) error { if err := rlp.DecodeBytes(blob, tx); err != nil { log.Error("Failed to decode blob pool entry", "id", id, "err", err) return errors.New("unknown tx type") - } if tx.BlobTxSidecar() == nil { log.Error("Missing sidecar in blob pool entry", "id", id, "hash", tx.Hash()) diff --git a/core/types/custody_bitmap.go b/core/types/custody_bitmap.go index 8f5083e9e1..003c24b9f9 100644 --- a/core/types/custody_bitmap.go +++ b/core/types/custody_bitmap.go @@ -45,7 +45,7 @@ func (b *CustodyBitmap) Clear(i uint) error { func (b CustodyBitmap) OneCount() int { total := 0 for _, byte := range b { - total += bits.OnesCount8(uint8(byte)) + total += bits.OnesCount8(byte) } return total } @@ -56,7 +56,7 @@ func (b CustodyBitmap) Indices() []uint64 { for byteIdx, val := range b { v := val for v != 0 { - tz := bits.TrailingZeros8(uint8(v)) // 0..7 + tz := bits.TrailingZeros8(v) // 0..7 idx := uint64(byteIdx*8 + tz) out = append(out, idx) v &^= 1 << tz diff --git a/crypto/kzg4844/kzg4844.go b/crypto/kzg4844/kzg4844.go index 7b65d8dbb9..0c2ce624da 100644 --- a/crypto/kzg4844/kzg4844.go +++ b/crypto/kzg4844/kzg4844.go @@ -226,5 +226,4 @@ func RecoverBlobs(cells []Cell, cellIndices []uint64) ([]Blob, error) { return ckzgRecoverBlobs(cells, cellIndices) } return gokzgRecoverBlobs(cells, cellIndices) - }