Skip to content

Commit

Permalink
Make MEMO_SIZE const pub to use it in the comment code example
Browse files Browse the repository at this point in the history
  • Loading branch information
dmidem committed Aug 13, 2024
1 parent 58552e3 commit 62fe679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/note_encryption.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use zcash_note_encryption::{
};

/// The size of the memo.
pub(crate) const MEMO_SIZE: usize = 512;
pub const MEMO_SIZE: usize = 512;

/// The size of a compact note.
pub const COMPACT_NOTE_SIZE: usize = 1 + // version
Expand Down

0 comments on commit 62fe679

Please sign in to comment.