diff --git a/firewood/src/merkle.rs b/firewood/src/merkle.rs index 32625192e..69bb641be 100644 --- a/firewood/src/merkle.rs +++ b/firewood/src/merkle.rs @@ -1609,7 +1609,7 @@ mod tests { fn branch(value: Vec, encoded_child: Option>) -> Node { let children = Default::default(); - let value = Some(value).map(Data); + let value = Some(Data(value)); let mut children_encoded = <[Option>; NBRANCH]>::default(); if let Some(child) = encoded_child {