diff --git a/src/schnorr.rs b/src/schnorr.rs index 7c92a48b1..b284dcbcb 100644 --- a/src/schnorr.rs +++ b/src/schnorr.rs @@ -181,7 +181,7 @@ impl Secp256k1 { if ret == 1 { Ok(()) } else { - Err(Error::InvalidSignature) + Err(Error::IncorrectSignature) } } }