Skip to content

Commit

Permalink
Capture sysvar instructions account in effects
Browse files Browse the repository at this point in the history
  • Loading branch information
mjain-jump committed Dec 16, 2024
1 parent 12fe45e commit 1be18fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/txn_fuzzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ pub fn execute_transaction(context: TxnContext) -> Option<TxnResult> {
// Only keep accounts that were passed in as account_keys or as ALUT accounts
relevant_accounts.acct_states.retain(|account| {
let pubkey = Pubkey::new_from_array(account.address.clone().try_into().unwrap());
loaded_account_keys.contains(&pubkey) && pubkey != sysvar::instructions::id()
loaded_account_keys.contains(&pubkey)
});

txn_result.resulting_state = Some(relevant_accounts.clone());
Expand Down

0 comments on commit 1be18fd

Please sign in to comment.