blockstore: make merkle root Optional in MerkleRootMeta column (#34091)
This commit is contained in:
parent
ffa462dd3a
commit
693d5768c8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue