Fix Secp256k1::verify docs

This commit is contained in:
Kirill Fomichev 2020-04-22 16:07:57 +03:00
parent 9aa768df10
commit 99a43ced56
No known key found for this signature in database
GPG Key ID: 6AA0144D5E0C0C0A
1 changed files with 1 additions and 1 deletions

View File

@ -663,7 +663,7 @@ impl<C: Signing> Secp256k1<C> {
impl<C: Verification> Secp256k1<C> {
/// Checks that `sig` is a valid ECDSA signature for `msg` using the public
/// key `pubkey`. Returns `Ok(true)` on success. Note that this function cannot
/// key `pubkey`. Returns `Ok(())` on success. Note that this function cannot
/// be used for Bitcoin consensus checking since there may exist signatures
/// which OpenSSL would verify but not libsecp256k1, or vice-versa. Requires a
/// verify-capable context.