max_value -> MAX

This commit is contained in:
realbigsean
2024-06-13 17:42:48 -04:00
parent 5789db042d
commit 5f986f50f9
27 changed files with 82 additions and 87 deletions

View File

@@ -30,7 +30,7 @@ impl Default for InclusionInfo {
/// Defaults to `delay` at its maximum value and `proposer_index` at zero.
fn default() -> Self {
Self {
delay: u64::max_value(),
delay: u64::MAX,
proposer_index: 0,
}
}