Skip to content

Commit

Permalink
fix fuzz attempt 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jgur-psyops committed Aug 23, 2024
1 parent 2c263bd commit 283c466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/marginfi/fuzz/src/user_accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl<'info> UserAccount<'info> {
.lending_account
.balances
.iter()
.filter(|a| a.active && !exclude_banks.contains(&a.bank_pk))
.filter(|a| a.is_active() && !exclude_banks.contains(&a.bank_pk))
.flat_map(|balance| {
let bank_accounts = bank_map.get(&balance.bank_pk).unwrap();
assert_eq!(balance.bank_pk, bank_accounts.bank.key());
Expand Down

0 comments on commit 283c466

Please sign in to comment.