diff --git a/ledger/src/blockstore_meta.rs b/ledger/src/blockstore_meta.rs index 6841caa860c072..72dc25e624b999 100644 --- a/ledger/src/blockstore_meta.rs +++ b/ledger/src/blockstore_meta.rs @@ -392,22 +392,11 @@ impl ErasureMeta { self.first_coding_index..self.first_coding_index + num_coding } -<<<<<<< HEAD -======= #[allow(dead_code)] pub(crate) fn first_received_coding_shred_index(&self) -> Option { u32::try_from(self.first_received_coding_index).ok() } - pub(crate) fn next_fec_set_index(&self) -> Option { - let num_data = u64::try_from(self.config.num_data).ok()?; - self.set_index - .checked_add(num_data) - .map(u32::try_from)? - .ok() - } - ->>>>>>> f1336970d0 (blockstore: store first received coding shred index in ErasureMeta (#961)) pub(crate) fn status(&self, index: &Index) -> ErasureMetaStatus { use ErasureMetaStatus::*;