Remove unnecessary clippy attribute on is_sighash_single_bug

This commit is contained in:
Steven Roose 2023-10-23 01:41:44 +01:00
parent f522a0290c
commit 750ee2ba56
No known key found for this signature in database
GPG Key ID: 2F2A88D7F8D68E87
1 changed files with 0 additions and 1 deletions

View File

@ -1237,7 +1237,6 @@ impl<E> EncodeSigningDataResult<E> {
/// // use a hash value of "1", instead of computing the actual hash due to SIGHASH_SINGLE bug
/// }
/// ```
#[allow(clippy::wrong_self_convention)] // E is not Copy so we consume self.
pub fn is_sighash_single_bug(self) -> Result<bool, E> {
match self {
EncodeSigningDataResult::SighashSingleBug => Ok(true),