Remove unnecessary clippy attribute on is_sighash_single_bug
This commit is contained in:
parent
f522a0290c
commit
750ee2ba56
|
@ -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
|
/// // 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> {
|
pub fn is_sighash_single_bug(self) -> Result<bool, E> {
|
||||||
match self {
|
match self {
|
||||||
EncodeSigningDataResult::SighashSingleBug => Ok(true),
|
EncodeSigningDataResult::SighashSingleBug => Ok(true),
|
||||||
|
|
Loading…
Reference in New Issue