Fix nonce doccoments

This commit is contained in:
Andrew Poelstra 2015-12-15 12:48:01 -06:00
parent 8aa2569818
commit f613dbbc00
1 changed files with 2 additions and 2 deletions

View File

@ -451,7 +451,7 @@ impl Secp256k1 {
Ok((sk, pk))
}
/// Constructs a signature for `msg` using the secret key `sk` and nonce `nonce`.
/// Constructs a signature for `msg` using the secret key `sk` and RFC6979 nonce
/// Requires a signing-capable context.
pub fn sign(&self, msg: &Message, sk: &key::SecretKey)
-> Result<Signature, Error> {
@ -470,7 +470,7 @@ impl Secp256k1 {
Ok(Signature::from(ret))
}
/// Constructs a signature for `msg` using the secret key `sk` and nonce `nonce`.
/// Constructs a signature for `msg` using the secret key `sk` and RFC6979 nonce
/// Requires a signing-capable context.
pub fn sign_recoverable(&self, msg: &Message, sk: &key::SecretKey)
-> Result<RecoverableSignature, Error> {