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

@@ -602,7 +602,7 @@ impl<E: EthSpec> OperationPool<E> {
})
},
|address_change| address_change.as_inner().clone(),
usize::max_value(),
usize::MAX,
);
changes.shuffle(&mut thread_rng());
changes
@@ -1343,7 +1343,7 @@ mod release_tests {
// Set of indices covered by previous attestations in `best_attestations`.
let mut seen_indices = BTreeSet::<u64>::new();
// Used for asserting that rewards are in decreasing order.
let mut prev_reward = u64::max_value();
let mut prev_reward = u64::MAX;
let mut reward_cache = RewardCache::default();
reward_cache.update(&state).unwrap();