Skip to content

Commit

Permalink
type comments
Browse files Browse the repository at this point in the history
  • Loading branch information
behzadnouri committed Jan 17, 2025
1 parent efb486e commit 3daf3d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ledger/src/blockstore_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ impl Column for columns::ProgramCosts {
}

impl Column for columns::ShredCode {
type Index = (Slot, u64);
type Index = (Slot, /*shred index:*/ u64);
type Key = <columns::ShredData as Column>::Key;

#[inline]
Expand All @@ -1214,7 +1214,7 @@ impl ColumnName for columns::ShredCode {
}

impl Column for columns::ShredData {
type Index = (Slot, u64);
type Index = (Slot, /*shred index:*/ u64);
type Key = [u8; std::mem::size_of::<Slot>() + std::mem::size_of::<u64>()];

#[inline]
Expand Down

0 comments on commit 3daf3d7

Please sign in to comment.