Documentation & changelog fixes.

This commit is contained in:
Kris Nuttycombe 2022-11-03 19:27:17 -06:00
parent cdfca848ea
commit 981d45e966
2 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,9 @@ and this library adheres to Rust's notion of
- Added to `zcash_primitives::transaction::components::transparent::builder`
- `TransparentBuilder::{inputs, outputs}`: accessors for transparent builder state.
- `zcash_primitives::transaction::components::transparent::fees`
- `zcash_primitives::sapling::Note::commitment`
- Added to `zcash_primitives::zip32::sapling::DiversifiableFullViewingKey`
- `DiversifiableFullViewingKey::{diversified_address, diversified_change_address}`
### Changed
- `zcash_primitives::transaction::builder::Builder::build` now takes a `FeeRule`

View File

@ -526,6 +526,8 @@ impl Note {
}
}
/// Returns [`self.cmu`] in the correct representation for inclusion in the Sapling
/// note commitment tree.
pub fn commitment(&self) -> Node {
Node {
repr: self.cmu().to_repr(),