diff --git a/units/src/locktime/absolute.rs b/units/src/locktime/absolute.rs index 79bdde330..60a99da21 100644 --- a/units/src/locktime/absolute.rs +++ b/units/src/locktime/absolute.rs @@ -10,7 +10,6 @@ use internals::write_err; #[cfg(feature = "alloc")] use crate::parse; -use crate::parse::ParseIntError; /// The Threshold for deciding whether a lock time value is a height or a time (see [Bitcoin Core]). /// @@ -360,12 +359,6 @@ impl ParseError { } } -impl From for ParseError { - fn from(value: ParseIntError) -> Self { - Self::InvalidInteger { source: value.source, input: value.input } - } -} - impl From for ParseError { fn from(value: ConversionError) -> Self { Self::Conversion(value.input.into()) } }