Documentation & changelog fixes.
This commit is contained in:
parent
cdfca848ea
commit
981d45e966
|
@ -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`
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue