Skip to content

Commit

Permalink
Merge #711: Fixed typos
Browse files Browse the repository at this point in the history
9c81591 Fixed typos (Data Retriever)

Pull request description:

ACKs for top commit:
  tcharding:
    ACK 9c81591
  apoelstra:
    ACK 9c81591

Tree-SHA512: d2955699db5f4f1f5b2f9bfda34116f4ae0a91ae4e85f5b5e6ef63fd13de0e3dffcdfb2693a72e691f9cfd438f39ef8d24fe1d6970500305cd86da07b29b5a10
  • Loading branch information
apoelstra committed Jul 23, 2024
2 parents e2794e8 + 9c81591 commit aec747e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/descriptor/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ fn fmt_derivation_path(f: &mut fmt::Formatter, path: &bip32::DerivationPath) ->
}

/// Writes multiple derivation paths to the formatter, no leading 'm'.
/// NOTE: we assume paths only differ at a sindle index, as prescribed by BIP389.
/// NOTE: we assume paths only differ at a single index, as prescribed by BIP389.
/// Will panic if the list of paths is empty.
fn fmt_derivation_paths(f: &mut fmt::Formatter, paths: &[bip32::DerivationPath]) -> fmt::Result {
for (i, child) in paths[0].into_iter().enumerate() {
Expand Down
2 changes: 1 addition & 1 deletion src/descriptor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ impl Descriptor<DescriptorPublicKey> {
/// # assert_eq!(descriptor.derived_descriptor(&secp, index).unwrap(), derived_descriptor);
/// ```
///
/// and is only here really here for backwards compatbility.
/// and is only here really here for backwards compatibility.
/// See [`at_derivation_index`] and `[derived_descriptor`] for more documentation.
///
/// [`at_derivation_index`]: Self::at_derivation_index
Expand Down

0 comments on commit aec747e

Please sign in to comment.