Skip to content

Commit

Permalink
Merge #678: schnorr: Change verify_schnorr error return type
Browse files Browse the repository at this point in the history
adee34f schnorr: Change verify_schnorr error return type (Steven Roose)

Pull request description:

  Bumped into this.

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

Tree-SHA512: 7ddad93fc69e36d7d33b54526b7c108df9fc69e6153eb583a69eca840c3bd095bcabe03c32ad21577e0fe1a12f1d191d7f5b7edd722fd20ecc200a30c8ee4d25
  • Loading branch information
apoelstra committed Jan 31, 2024
2 parents a1d8c90 + adee34f commit fb676dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schnorr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl<C: Verification> Secp256k1<C> {
if ret == 1 {
Ok(())
} else {
Err(Error::InvalidSignature)
Err(Error::IncorrectSignature)
}
}
}
Expand Down

0 comments on commit fb676dc

Please sign in to comment.