@@ -39,9 +39,9 @@ pub mod locktime {
3939
4040 pub use crate :: consensus:: encode:: { self , Decodable , Encodable } ;
4141
42- /// Re-export everything from the `primitives ::locktime::absolute` module.
42+ /// Re-export everything from the `units ::locktime::absolute` module.
4343 #[ rustfmt:: skip] // Keep public re-exports separate.
44- pub use primitives :: locktime:: absolute:: { ConversionError , Height , LockTime , ParseHeightError , ParseTimeError , MedianTimePast } ;
44+ pub use units :: locktime:: absolute:: { ConversionError , Height , LockTime , ParseHeightError , ParseTimeError , MedianTimePast } ;
4545
4646 #[ deprecated( since = "TBD" , note = "use `MedianTimePast` instead" ) ]
4747 #[ doc( hidden) ]
@@ -69,8 +69,8 @@ pub mod locktime {
6969 //! There are two types of lock time: lock-by-height and lock-by-time, distinguished by
7070 //! whether bit 22 of the `u32` consensus value is set.
7171
72- /// Re-export everything from the `primitives ::locktime::relative` module.
73- pub use primitives :: locktime:: relative:: {
72+ /// Re-export everything from the `units ::locktime::relative` module.
73+ pub use units :: locktime:: relative:: {
7474 DisabledLockTimeError , InvalidHeightError , InvalidTimeError , LockTime ,
7575 NumberOf512Seconds , NumberOfBlocks , TimeOverflowError ,
7676 } ;
0 commit comments