Correctly document InvalidSighashType variant

The rustdoc on the `taproot::Error::InvalidSighashType` is wrong, fix
it.
This commit is contained in:
Tobin C. Harding 2023-06-02 14:23:37 +10:00
parent 13d5c0536b
commit 29678cb82b
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ impl Signature {
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)] #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
#[non_exhaustive] #[non_exhaustive]
pub enum Error { pub enum Error {
/// Base58 encoding error /// Invalid signature hash type.
InvalidSighashType(u8), InvalidSighashType(u8),
/// Signature has valid size but does not parse correctly /// Signature has valid size but does not parse correctly
Secp256k1(secp256k1::Error), Secp256k1(secp256k1::Error),