mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-13 01:21:29 +01:00
feat: add PartialMmr::from_parts() constructor
This commit is contained in:
committed by
Bobbin Threadbare
parent
1cdd3dbbfa
commit
5fcf98669d
@@ -132,3 +132,9 @@ impl MmrPeaks {
|
||||
elements
|
||||
}
|
||||
}
|
||||
|
||||
impl From<MmrPeaks> for Vec<RpoDigest> {
|
||||
fn from(peaks: MmrPeaks) -> Self {
|
||||
peaks.peaks
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user