Skip to content

Commit 9d2960c

Browse files
committed
PR471 review: updated visiability for create_split_note() to pub(crate)
1 parent 1d93e5f commit 9d2960c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/note.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ impl Note {
419419
/// Panics if `self.asset().is_zatoshi()`.
420420
///
421421
/// [Split Input note]: https://zips.z.cash/zip-0226#split-notes
422-
pub fn create_split_note(self, rng: &mut impl RngCore) -> Self {
422+
pub(crate) fn create_split_note(self, rng: &mut impl RngCore) -> Self {
423423
assert!(bool::from(!self.asset().is_zatoshi()));
424424
Note {
425425
rseed_split_note: CtOption::new(RandomSeed::random(rng, &self.rho()), 1u8.into()),

0 commit comments

Comments
 (0)