Update test_serum_loan_origination_fees test

Now that it always uses the v2 settle, fee buyback potential does
accumulate.
This commit is contained in:
Christian Kamm 2023-06-19 14:48:08 +02:00
parent 6b2e9bbf12
commit eeef6711ab
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ async fn test_serum_loan_origination_fees() -> Result<(), TransportError> {
let account_data = solana.get_account::<MangoAccount>(account).await; let account_data = solana.get_account::<MangoAccount>(account).await;
assert_eq!( assert_eq!(
account_data.buyback_fees_accrued_current, account_data.buyback_fees_accrued_current,
0 // the v1 function doesn't accumulate buyback fees serum_maker_rebate(fill_amount) as u64
); );
assert_eq!( assert_eq!(