File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -242,13 +242,10 @@ impl fmt::Display for DescriptorPublicKey {
242
242
}
243
243
244
244
impl DescriptorSecretKey {
245
- /// Return the public version of this key, by applying either
246
- /// [`SinglePriv::to_public`] or [`DescriptorXKey<bip32::ExtendedPrivKey>::to_public`]
247
- /// depending on the type of key.
245
+ /// Returns the public version of this key.
248
246
///
249
- /// If the key is an "XPrv", the hardened derivation steps will be applied before converting it
250
- /// to a public key. See the documentation of [`DescriptorXKey<bip32::ExtendedPrivKey>::to_public`]
251
- /// for more details.
247
+ /// If the key is an "XPrv", the hardened derivation steps will be applied
248
+ /// before converting it to a public key.
252
249
pub fn to_public < C : Signing > (
253
250
& self ,
254
251
secp : & Secp256k1 < C > ,
You can’t perform that action at this time.
0 commit comments