Skip to content

Commit

Permalink
please clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
2501babe committed Aug 30, 2024
1 parent 1ee5490 commit 9a295a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions svm/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ fn simple_nonce_fee_only(
fee_payer_data.set_lamports(LAMPORTS_PER_SOL);
test_entry.add_initial_account(fee_payer, &fee_payer_data);
} else if fee_paying_nonce {
nonce_balance += LAMPORTS_PER_SOL;
nonce_balance = nonce_balance.saturating_add(LAMPORTS_PER_SOL);
}

let nonce_initial_hash = DurableNonce::from_blockhash(&Hash::new_unique());
Expand Down Expand Up @@ -743,8 +743,8 @@ fn simple_nonce_fee_only(

test_entry
.final_accounts
.get_mut(nonce_info.address())
.map(|a| a.set_rent_epoch(0));
.entry(*nonce_info.address())
.and_modify(|account| account.set_rent_epoch(0));

test_entry.push_nonce_transaction_with_status(
transaction,
Expand Down

0 comments on commit 9a295a7

Please sign in to comment.