mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
remove todo
This commit is contained in:
@@ -181,8 +181,6 @@ impl<T: BeaconChainTypes> DataAvailabilityChecker<T> {
|
|||||||
block_root: Hash256,
|
block_root: Hash256,
|
||||||
blobs: FixedBlobSidecarList<T::EthSpec>,
|
blobs: FixedBlobSidecarList<T::EthSpec>,
|
||||||
) -> Result<Availability<T::EthSpec>, AvailabilityCheckError> {
|
) -> Result<Availability<T::EthSpec>, AvailabilityCheckError> {
|
||||||
// TODO(sean) we may duplicated kzg verification on some blobs we already have cached so we could optimize this
|
|
||||||
|
|
||||||
let mut verified_blobs = vec![];
|
let mut verified_blobs = vec![];
|
||||||
if let Some(kzg) = self.kzg.as_ref() {
|
if let Some(kzg) = self.kzg.as_ref() {
|
||||||
for blob in blobs.iter().flatten() {
|
for blob in blobs.iter().flatten() {
|
||||||
|
|||||||
Reference in New Issue
Block a user