Fix stale Height type link

`units::locktime::relative::Height` type is now deprecated, use the new
name in rustdoc.
This commit is contained in:
Tobin C. Harding 2025-05-12 12:57:08 +10:00
parent caebb1bf73
commit 4ccecf5dec
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ impl_u32_wrapper! {
/// Block interval is an integer type representing a difference between the heights of two blocks.
///
/// This type is not meant for constructing relative height based timelocks. It is a general
/// purpose block interval abstraction. For locktimes please see [`locktime::relative::Height`].
/// purpose block interval abstraction. For locktimes please see [`locktime::relative::NumberOfBlocks`].
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
// Public to try and make it really clear that there are no invariants.