From f613dbbc009f93e7a7aec3857a0eb540af14b6be Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Tue, 15 Dec 2015 12:48:01 -0600 Subject: [PATCH] Fix nonce doccoments --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 1e5d26c..51de26e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 { @@ -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 {