mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-26 17:59: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
|
return res, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (api *ConsensusAPI) HasBlobs(hashes []common.Hash) ([]bool, error) {
|
// HasBlobs reports availability for the requested blob-versioned-hashes.
|
||||||
return api.eth.BlobTxPool().AvailableBlobs(hashes), nil
|
func (api *ConsensusAPI) HasBlobs(hashes []common.Hash) []bool {
|
||||||
|
return api.eth.BlobTxPool().AvailableBlobs(hashes)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Helper for NewPayload* methods.
|
// Helper for NewPayload* methods.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue