Use link to CompactTarget in rustdoc

This commit is contained in:
Tobin C. Harding 2024-02-22 08:06:46 +11:00
parent 684b453b7c
commit 2a6821b426
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ impl Target {
/// The maximum **attainable** target value on mainnet. /// The maximum **attainable** target value on mainnet.
/// ///
/// Not all target values are attainable because consensus code uses the compact format to /// Not all target values are attainable because consensus code uses the compact format to
/// represent targets (see `CompactTarget`). /// represent targets (see [`CompactTarget`]).
pub const MAX_ATTAINABLE_MAINNET: Self = Target(U256(0xFFFF_u128 << (208 - 128), 0)); pub const MAX_ATTAINABLE_MAINNET: Self = Target(U256(0xFFFF_u128 << (208 - 128), 0));
/// The proof of work limit on testnet. /// The proof of work limit on testnet.