From 99a43ced56dc5c24e7a34b2f3bcb062700167671 Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Wed, 22 Apr 2020 16:07:57 +0300 Subject: [PATCH] Fix Secp256k1::verify docs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 5e66c46..77e2292 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -663,7 +663,7 @@ impl Secp256k1 { impl Secp256k1 { /// 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.