diff --git a/src/blockdata/transaction.rs b/src/blockdata/transaction.rs index a84bcac5..224d90d4 100644 --- a/src/blockdata/transaction.rs +++ b/src/blockdata/transaction.rs @@ -859,12 +859,6 @@ impl EcdsaSigHashType { pub fn as_u32(self) -> u32 { self as u32 } } -impl From for u32 { - fn from(t: EcdsaSigHashType) -> u32 { - t.as_u32() - } -} - /// Error returned when parsing `SigHashType` fails. /// /// This is currently returned for unrecognized sighash strings.