We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa50cc6 commit 676a980Copy full SHA for 676a980
src/key.rs
@@ -696,13 +696,7 @@ impl KeyPair {
696
&mut self.0
697
}
698
699
- /// Creates a Schnorr [`KeyPair`] directly from generic Secp256k1 secret key.
700
- ///
701
- /// # Panics
702
703
- /// Panics if internal representation of the provided [`SecretKey`] does not hold correct secret
704
- /// key value obtained from Secp256k1 library previously, specifically when secret key value is
705
- /// out-of-range (0 or in excess of the group order).
+ /// Creates a [`KeyPair`] directly from a Secp256k1 secret key.
706
#[inline]
707
pub fn from_secret_key<C: Signing>(
708
secp: &Secp256k1<C>,
0 commit comments