Skip to content

Commit b5de8e6

Browse files
Only store Z_SHORT and U_SHORT for value_commit_v
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
1 parent 380ed37 commit b5de8e6

File tree

2 files changed

+2
-2921
lines changed

2 files changed

+2
-2921
lines changed

src/constants.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ impl<C: CurveAffine> FixedBase<C> for OrchardFixedBase<C> {
226226
}
227227
})
228228
.collect::<Option<ArrayVec<C::Base, H>>>()
229-
.and_then(|us| Some((z, us.into_inner().unwrap())))
229+
.map(|us| (z, us.into_inner().unwrap()))
230230
})
231231
};
232232

0 commit comments

Comments
 (0)