Skip to content

Commit

Permalink
blockstore: make merkle root Optional in MerkleRootMeta column (#34091)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar authored and Steven Czabaniuk committed Jan 5, 2024
1 parent 1c96c17 commit a7b4ee5
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 a7b4ee5

Please sign in to comment.