Skip to content

Commit c39a1ca

Browse files
Merge pull request #210 from fanatid/docs-verify
Fix Secp256k1::verify docs
2 parents 9aa768d + 99a43ce commit c39a1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ impl<C: Signing> Secp256k1<C> {
663663

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

0 commit comments

Comments
 (0)