Skip to content

Commit

Permalink
pr feedback: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar committed Dec 1, 2023
1 parent 5b986db commit c0e3f85
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ledger/src/blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1226,6 +1226,9 @@ impl Blockstore {
}

if let Some(merkle_root_meta) = merkle_root_metas.get(&erasure_set) {
// A previous shred has been inserted in this batch or in blockstore
// Compare our current shred against the previous shred for potential
// conflicts
if !self.perform_merkle_check(
just_received_shreds,
slot,
Expand Down Expand Up @@ -1453,6 +1456,9 @@ impl Blockstore {
}

if let Some(merkle_root_meta) = merkle_root_metas.get(&erasure_set) {
// A previous shred has been inserted in this batch or in blockstore
// Compare our current shred against the previous shred for potential
// conflicts
if !self.perform_merkle_check(
just_inserted_shreds,
slot,
Expand Down

0 comments on commit c0e3f85

Please sign in to comment.