Pacify clippy

This commit is contained in:
Michael Vines
2022-01-21 16:01:22 -08:00
parent ce4f7601af
commit 6d5bbca630
37 changed files with 157 additions and 194 deletions

View File

@ -2591,7 +2591,7 @@ fn test_votes_land_in_fork_during_long_partition() {
// Should finish faster than if the cluster were relying on replay vote
// refreshing to refresh the vote on blockhash expiration for the vote
// transaction.
!(start.elapsed() > Duration::from_millis(max_wait)),
start.elapsed() <= Duration::from_millis(max_wait),
"Went too long {} ms without a root",
max_wait,
);