core/txpool/blobpool: edit comment

This commit is contained in:
healthykim 2026-05-07 12:58:18 +02:00 committed by MariusVanDerWijden
parent 00a0657a15
commit 78a926efab
No known key found for this signature in database

View file

@ -1695,7 +1695,7 @@ func (p *BlobPool) GetBlobs(vhashes []common.Hash, version byte) ([]*kzg4844.Blo
return blobs, commitments, proofs, nil return blobs, commitments, proofs, nil
} }
// AvailableBlobs returns the number of blobs that are available in the subpool. // AvailableBlobs returns whether the blobs are available in the subpool.
func (p *BlobPool) AvailableBlobs(vhashes []common.Hash) []bool { func (p *BlobPool) AvailableBlobs(vhashes []common.Hash) []bool {
available := make([]bool, len(vhashes)) available := make([]bool, len(vhashes))
for i, vhash := range vhashes { for i, vhash := range vhashes {