Skip to content

Commit

Permalink
blockstore: make merkle root Optional in MerkleRootMeta column (solan…
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar authored Nov 15, 2023
1 parent ffa462d commit 693d576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ledger/src/blockstore_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ pub(crate) struct ErasureConfig {

#[derive(Clone, Copy, Debug, Eq, PartialEq, Serialize, Deserialize)]
pub struct MerkleRootMeta {
/// The merkle root
merkle_root: Hash,
/// The merkle root, `None` for legacy shreds
merkle_root: Option<Hash>,
/// The first received shred index
first_received_shred_index: u32,
/// The shred type of the first received shred
Expand Down

0 comments on commit 693d576

Please sign in to comment.