From 47411ce73d4288e50bbd657173392eaf33631e3f Mon Sep 17 00:00:00 2001 From: Tobin Harding Date: Wed, 19 Jan 2022 15:22:37 +1100 Subject: [PATCH] Fix typo in documentation Docs reference a function name but there is a typo. 'grund' -> 'grind'. --- src/ecdsa/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ecdsa/mod.rs b/src/ecdsa/mod.rs index 52b276c..7098ab4 100644 --- a/src/ecdsa/mod.rs +++ b/src/ecdsa/mod.rs @@ -381,7 +381,7 @@ impl Secp256k1 { /// Constructs a signature for `msg` using the secret key `sk`, RFC6979 nonce /// and "grinds" the nonce by passing extra entropy if necessary to produce - /// a signature that is less than 71 - bytes_to_grund bytes. The number + /// a signature that is less than 71 - `bytes_to_grind` bytes. The number /// of signing operation performed by this function is exponential in the /// number of bytes grinded. /// Requires a signing capable context. @@ -392,7 +392,7 @@ impl Secp256k1 { /// Constructs a signature for `msg` using the secret key `sk`, RFC6979 nonce /// and "grinds" the nonce by passing extra entropy if necessary to produce - /// a signature that is less than 71 - bytes_to_grund bytes. The number + /// a signature that is less than 71 - `bytes_to_grind` bytes. The number /// of signing operation performed by this function is exponential in the /// number of bytes grinded. /// Requires a signing capable context.