diff --git a/src/blockdata/transaction.rs b/src/blockdata/transaction.rs index 901e26fb..b52c211e 100644 --- a/src/blockdata/transaction.rs +++ b/src/blockdata/transaction.rs @@ -503,6 +503,7 @@ impl EncodeSigningDataResult { /// // 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 { match self { EncodeSigningDataResult::SighashSingleBug => Ok(true),