Skip to content

Commit

Permalink
Change visibility of dummy methods
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykoren committed Feb 15, 2025
1 parent edcdbe6 commit 07b94c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/note.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ impl Note {
/// Defined in [Zcash Protocol Spec § 4.8.3: Dummy Notes (Orchard)][orcharddummynotes].
///
/// [orcharddummynotes]: https://zips.z.cash/protocol/nu5.pdf#orcharddummynotes
pub(crate) fn dummy(
pub fn dummy(
rng: &mut impl RngCore,
rho: Option<Rho>,
asset: AssetBase,
Expand Down
2 changes: 1 addition & 1 deletion src/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl From<incrementalmerkletree::MerklePath<MerkleHashOrchard, 32>> for MerklePa

impl MerklePath {
/// Generates a dummy Merkle path for use in dummy spent notes.
pub(crate) fn dummy(mut rng: &mut impl RngCore) -> Self {
pub fn dummy(mut rng: &mut impl RngCore) -> Self {
MerklePath {
position: rng.next_u32(),
auth_path: [(); MERKLE_DEPTH_ORCHARD]
Expand Down

0 comments on commit 07b94c8

Please sign in to comment.