This commit is contained in:
Jack Grigg 2021-06-28 18:48:58 +01:00
parent 93ab753b8c
commit 9bf066ef8b
1 changed files with 4 additions and 1 deletions

View File

@ -229,7 +229,10 @@ impl Hashable for OrchardIncrementalTreeDigest {
}
fn empty_root(altitude: Altitude) -> Self {
OrchardIncrementalTreeDigest(CtOption::new(EMPTY_ROOTS[<usize>::from(altitude)], 1.into()))
OrchardIncrementalTreeDigest(CtOption::new(
EMPTY_ROOTS[<usize>::from(altitude)],
1.into(),
))
}
}