Correctly document InvalidSighashType variant
The rustdoc on the `taproot::Error::InvalidSighashType` is wrong, fix it.
This commit is contained in:
parent
13d5c0536b
commit
29678cb82b
|
@ -63,7 +63,7 @@ impl Signature {
|
|||
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
|
||||
#[non_exhaustive]
|
||||
pub enum Error {
|
||||
/// Base58 encoding error
|
||||
/// Invalid signature hash type.
|
||||
InvalidSighashType(u8),
|
||||
/// Signature has valid size but does not parse correctly
|
||||
Secp256k1(secp256k1::Error),
|
||||
|
|
Loading…
Reference in New Issue