adding suggested documentation for path arg

This commit is contained in:
Lorenzo Maturano 2023-02-21 16:58:22 -03:00
parent 673ca2d2fe
commit f69363d71a
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ impl ExtendedPubKey {
/// Attempts to derive an extended public key from a path. /// Attempts to derive an extended public key from a path.
/// ///
/// The `path` argument can be both of type `DerivationPath` or `AsRef<ChildNumber>`. /// The `path` argument can be any type implementing `AsRef<ChildNumber>`, such as `DerivationPath`, for instance.
pub fn derive_pub<C: secp256k1::Verification, P: AsRef<[ChildNumber]>>( pub fn derive_pub<C: secp256k1::Verification, P: AsRef<[ChildNumber]>>(
&self, &self,
secp: &Secp256k1<C>, secp: &Secp256k1<C>,