Document sig verify's intentional limitation

This commit is contained in:
Thomas M. DuBuisson 2023-03-29 10:32:17 -07:00 committed by GitHub
parent d738998486
commit 6e0ae2a7bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@ impl Signature {
} }
/// Verifies an ECDSA signature for `msg` using `pk` and the global [`SECP256K1`] context. /// 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] #[inline]
#[cfg(feature = "global-context")] #[cfg(feature = "global-context")]
#[cfg_attr(docsrs, doc(cfg(feature = "global-context")))] #[cfg_attr(docsrs, doc(cfg(feature = "global-context")))]