From 70221ffa085e3cd0a50683f788f5e78cdfae04ae Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 19 Jun 2025 13:24:22 +1000 Subject: [PATCH] Fix link to use new name Use `NumberOfBlocks` not the `Height` alias. Fixes link. --- units/src/locktime/relative.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/src/locktime/relative.rs b/units/src/locktime/relative.rs index 5edafe01e..418852dc9 100644 --- a/units/src/locktime/relative.rs +++ b/units/src/locktime/relative.rs @@ -30,7 +30,7 @@ impl NumberOfBlocks { #[inline] pub const fn from_height(blocks: u16) -> Self { Self(blocks) } - /// Express the [`Height`] as a count of blocks. + /// Express the [`NumberOfBlocks`] as a count of blocks. #[inline] #[must_use] pub const fn to_height(self) -> u16 { self.0 }