Skip to content

Commit

Permalink
fix blockstore_meta conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar committed Apr 23, 2024
1 parent a9eb680 commit 1d69535
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions ledger/src/blockstore_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
u32::try_from(self.first_received_coding_index).ok()
}

pub(crate) fn next_fec_set_index(&self) -> Option<u32> {
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::*;

Expand Down

0 comments on commit 1d69535

Please sign in to comment.