Simple doc fix for `from_secret_key`
This commit is contained in:
parent
45c699f005
commit
1646a80f77
|
@ -34,7 +34,7 @@ pub struct Privkey {
|
|||
}
|
||||
|
||||
impl Privkey {
|
||||
/// Creates an address from a public key
|
||||
/// Creates a `Privkey` from a raw secp256k1 secret key
|
||||
#[inline]
|
||||
pub fn from_secret_key(key: SecretKey, compressed: bool, network: Network) -> Privkey {
|
||||
Privkey {
|
||||
|
|
Loading…
Reference in New Issue