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:
parent
6b2e9bbf12
commit
eeef6711ab
|
@ -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!(
|
||||||
|
|
Loading…
Reference in New Issue