fix typo in latest_validator_votes_for_frozen_banks.rs (#33585)

upate -> update
This commit is contained in:
Ikko Eltociear Ashimine 2023-10-09 03:12:52 +09:00 committed by GitHub
parent c588f25eca
commit bd8cfc9923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ mod tests {
}
// Case 6: Adding a vote for a new higher slot that *is* frozen
// should upate the state
// should update the state
let frozen_hash = Hash::new_unique();
assert_eq!(
latest_validator_votes_for_frozen_banks.check_add_vote(