Merge pull request #120 from dpc/from_secret_key-doc-fix

Simple doc fix for `from_secret_key`
This commit is contained in:
Andrew Poelstra 2018-08-11 17:05:29 +00:00 committed by GitHub
commit ee9802d813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {