diff --git a/components/zcash_protocol/src/lib.rs b/components/zcash_protocol/src/lib.rs index f752dc909d..2976a02643 100644 --- a/components/zcash_protocol/src/lib.rs +++ b/components/zcash_protocol/src/lib.rs @@ -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. diff --git a/zcash_primitives/src/memo.rs b/components/zcash_protocol/src/memo.rs similarity index 100% rename from zcash_primitives/src/memo.rs rename to components/zcash_protocol/src/memo.rs diff --git a/zcash_primitives/CHANGELOG.md b/zcash_primitives/CHANGELOG.md index 6e9f93d0c3..e695d54f85 100644 --- a/zcash_primitives/CHANGELOG.md +++ b/zcash_primitives/CHANGELOG.md @@ -17,6 +17,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. ### Removed - `zcash_primitives::consensus::sapling_zip212_enforcement` instead use diff --git a/zcash_primitives/src/lib.rs b/zcash_primitives/src/lib.rs index e539dfeea0..37c37d653a 100644 --- a/zcash_primitives/src/lib.rs +++ b/zcash_primitives/src/lib.rs @@ -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;