mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-08 23:21:30 +01:00
feat: add Clone derive to PartialMmr
This commit is contained in:
@@ -17,7 +17,7 @@ use crate::{
|
||||
///
|
||||
/// This structure store only the authentication path for a value, the value itself is stored
|
||||
/// separately.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct PartialMmr {
|
||||
/// The version of the MMR.
|
||||
///
|
||||
|
||||
@@ -6,7 +6,7 @@ use super::{
|
||||
// MMR PEAKS
|
||||
// ================================================================================================
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
|
||||
pub struct MmrPeaks {
|
||||
/// The number of leaves is used to differentiate MMRs that have the same number of peaks. This
|
||||
|
||||
Reference in New Issue
Block a user