fix: bug introduced due to merging

This commit is contained in:
Bobbin Threadbare 2024-09-13 11:10:34 -07:00
parent c44ccd9dec
commit e214608c85
No known key found for this signature in database
GPG key ID: 289C444AD87BC941
2 changed files with 1 additions and 3 deletions

View file

@ -9,7 +9,6 @@
* Added `Serializable` and `Deserializable` implementations for `PartialMmr` and `InOrderIndex` (#329).
## 0.10.0 (2024-08-06)
- Added more `RpoDigest` and `RpxDigest` conversions (#311).

View file

@ -937,8 +937,7 @@ mod tests {
#[test]
fn test_partial_mmr_serialization() {
let mmr = Mmr::from((0..7).map(int_to_node));
let forest_size = mmr.forest();
let partial_mmr = PartialMmr::from_peaks(mmr.peaks(forest_size).unwrap());
let partial_mmr = PartialMmr::from_peaks(mmr.peaks());
let bytes = partial_mmr.to_bytes();
let decoded = PartialMmr::read_from_bytes(&bytes).unwrap();