Merge rust-bitcoin/rust-secp256k1#678: schnorr: Change verify_schnorr error return type

adee34fe18 schnorr: Change verify_schnorr error return type (Steven Roose)

Pull request description:

  Bumped into this.

ACKs for top commit:
  Kixunil:
    ACK adee34fe18
  tcharding:
    ACK adee34fe18
  apoelstra:
    ACK adee34fe18

Tree-SHA512: 7ddad93fc69e36d7d33b54526b7c108df9fc69e6153eb583a69eca840c3bd095bcabe03c32ad21577e0fe1a12f1d191d7f5b7edd722fd20ecc200a30c8ee4d25
This commit is contained in:
Andrew Poelstra 2024-01-31 21:30:22 +00:00
commit fb676dcb1f
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ impl<C: Verification> Secp256k1<C> {
if ret == 1 { if ret == 1 {
Ok(()) Ok(())
} else { } else {
Err(Error::InvalidSignature) Err(Error::IncorrectSignature)
} }
} }
} }