From 6e0ae2a7bb198d18823a99bf9deaa90e338e6b09 Mon Sep 17 00:00:00 2001 From: "Thomas M. DuBuisson" Date: Wed, 29 Mar 2023 10:32:17 -0700 Subject: [PATCH] Document sig verify's intentional limitation --- src/ecdsa/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ecdsa/mod.rs b/src/ecdsa/mod.rs index 67de4b3..26e4092 100644 --- a/src/ecdsa/mod.rs +++ b/src/ecdsa/mod.rs @@ -190,6 +190,7 @@ impl Signature { } /// Verifies an ECDSA signature for `msg` using `pk` and the global [`SECP256K1`] context. + /// The signature must be normalized or verification will fail (see [`normalize_s`]). #[inline] #[cfg(feature = "global-context")] #[cfg_attr(docsrs, doc(cfg(feature = "global-context")))]