minor test cleanup (#23447)

* minor test cleanup

* fmt
This commit is contained in:
Jeff Washington (jwash) 2022-03-02 12:10:05 -06:00 committed by GitHub
parent 26aa18b3f3
commit e88da2ec0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -7129,7 +7129,7 @@ pub(crate) mod tests {
let plenty_of_lamports = 264;
let too_few_lamports = 10;
// Initialize credit-debit and credit only accounts
let mut accounts = [
let accounts = [
AccountSharedData::new(plenty_of_lamports, 0, &Pubkey::default()),
AccountSharedData::new(plenty_of_lamports, 1, &Pubkey::default()),
AccountSharedData::new(plenty_of_lamports, 0, &Pubkey::default()),
@ -7153,7 +7153,7 @@ pub(crate) mod tests {
}
for i in 0..accounts.len() {
let account = &mut accounts[i];
let account = &accounts[i];
bank.store_account(&keypairs[i].pubkey(), account);
bank_with_success_txs.store_account(&keypairs[i].pubkey(), account);
}