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.