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: ACKadee34fe18
tcharding: ACKadee34fe18
apoelstra: ACKadee34fe18
Tree-SHA512: 7ddad93fc69e36d7d33b54526b7c108df9fc69e6153eb583a69eca840c3bd095bcabe03c32ad21577e0fe1a12f1d191d7f5b7edd722fd20ecc200a30c8ee4d25
This commit is contained in:
commit
fb676dcb1f
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue