Skip to content

Commit

Permalink
zcash_primitives: Move the memo module to the zcash_protocol crate.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuttycom committed Feb 7, 2024
1 parent 7cb97c8 commit e387ae2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/zcash_protocol/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub mod consensus;
pub mod constants;
#[cfg(feature = "local-consensus")]
pub mod local_consensus;
pub mod memo;
pub mod value;

/// A Zcash shielded transfer protocol.
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions zcash_primitives/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ and this library adheres to Rust's notion of
`zcash_protocol::constants` module.
- `zcash_primitives::transaction::components::amount` is now a reexport of the
`zcash_protocol::value` module.
- `zcash_primitives::memo` is now a reexport of the `zcash_protocol::memo` module.

### Moved
- `zcash_primitives::consensus::sapling_zip212_enforcement` has been moved to
Expand Down
2 changes: 1 addition & 1 deletion zcash_primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub mod block;
pub use zcash_protocol::consensus;
pub use zcash_protocol::constants;
pub mod legacy;
pub mod memo;
pub use zcash_protocol::memo;
pub mod merkle_tree;
use sapling;
pub mod transaction;
Expand Down

0 comments on commit e387ae2

Please sign in to comment.