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 e2d47a2 commit 3ecb5e4Copy full SHA for 3ecb5e4
src/key.rs
@@ -338,9 +338,7 @@ impl PublicKey {
338
/// # }
339
/// ```
340
#[inline]
341
- pub fn from_secret_key<C: Signing>(secp: &Secp256k1<C>,
342
- sk: &SecretKey)
343
- -> PublicKey {
+ pub fn from_secret_key<C: Signing>(secp: &Secp256k1<C>,sk: &SecretKey) -> PublicKey {
344
unsafe {
345
let mut pk = ffi::PublicKey::new();
346
// We can assume the return value because it's not possible to construct
0 commit comments