Skip to content

Commit

Permalink
minor test cleanup (solana-labs#23447)
Browse files Browse the repository at this point in the history
* minor test cleanup

* fmt
  • Loading branch information
jeffwashington authored Mar 2, 2022
1 parent 26aa18b commit e88da2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand All @@ -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);
}
Expand Down

0 comments on commit e88da2e

Please sign in to comment.