Fix link to use new name

Use `NumberOfBlocks` not the `Height` alias. Fixes link.
This commit is contained in:
Tobin C. Harding 2025-06-19 13:24:22 +10:00
parent ebf92fcb01
commit 70221ffa08
No known key found for this signature in database
GPG Key ID: 0AEF0A899E41F7DD
1 changed files with 1 additions and 1 deletions

View File

@ -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 }