eth/catalyst: remove error

This commit is contained in:
Felix Lange 2026-05-21 09:00:56 +02:00
parent 78a926efab
commit e8a5b1bd16

View file

@ -679,8 +679,9 @@ func (api *ConsensusAPI) getBlobs(hashes []common.Hash, v2 bool) (engine.BlobAnd
return res, nil
}
func (api *ConsensusAPI) HasBlobs(hashes []common.Hash) ([]bool, error) {
return api.eth.BlobTxPool().AvailableBlobs(hashes), nil
// HasBlobs reports availability for the requested blob-versioned-hashes.
func (api *ConsensusAPI) HasBlobs(hashes []common.Hash) []bool {
return api.eth.BlobTxPool().AvailableBlobs(hashes)
}
// Helper for NewPayload* methods.