mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
eth/catalyst: remove error
This commit is contained in:
parent
78a926efab
commit
e8a5b1bd16
1 changed files with 3 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue