Skip to content

Commit

Permalink
update note
Browse files Browse the repository at this point in the history
  • Loading branch information
2501babe committed Oct 10, 2024
1 parent 18d8a76 commit 19922ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions svm/src/account_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,7 @@ fn update_accounts_for_successful_tx<T: SVMMessage>(
transaction: &T,
transaction_accounts: &[TransactionAccount],
) {
// NOTE this selection criterion is different from account saver but accurate for us
// namely, we do not append to the transaction accounts vec
// so transaction_accounts.len() == transaction.account_keys().len()
// TODO update account saver to be like this after i rebase on master
for (i, (address, account)) in transaction_accounts.iter().enumerate() {
if !transaction.is_writable(i) {
continue;
Expand Down

0 comments on commit 19922ee

Please sign in to comment.