Fix typos in release notes & Orchard wallet internal API doc.

This commit is contained in:
Kris Nuttycombe 2022-05-09 09:30:02 -06:00
parent 731df21da7
commit f41ccaf244
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ RPC Interface
------------- -------------
- The default `minconf` value for `z_sendmany` is now 10 confirmations instead - The default `minconf` value for `z_sendmany` is now 10 confirmations instead
of 1. If `minconf` and specifies a value less than that provided for of 1. If `minconf` specifies a value less than that provided for
`-anchorconfirmations`, it will also override that value as it is not `-anchorconfirmations`, it will also override that value as it is not
possible to spend notes that are more recent than the anchor. Selecting possible to spend notes that are more recent than the anchor. Selecting
`minconf` values less than 3 is not recommended, as it allows the transaction `minconf` values less than 3 is not recommended, as it allows the transaction

View File

@ -688,7 +688,7 @@ impl Wallet {
.collect() .collect()
} }
/// Returns the note of the Orchard note commitment tree, as of the specified checkpoint /// Returns the root of the Orchard note commitment tree, as of the specified checkpoint
/// depth. A depth of 0 corresponds to the chain tip. /// depth. A depth of 0 corresponds to the chain tip.
pub fn note_commitment_tree_root(&self, checkpoint_depth: usize) -> Option<MerkleHashOrchard> { pub fn note_commitment_tree_root(&self, checkpoint_depth: usize) -> Option<MerkleHashOrchard> {
self.witness_tree.root(checkpoint_depth) self.witness_tree.root(checkpoint_depth)