You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defer deposit/borrow limit checks to the end_flashloan ix
Allow flashloans that improve account health -- allow flashloan if account is in bad health, but health health improves: health at end_flashloan > health at start_flashloan
The text was updated successfully, but these errors were encountered:
where the code location with deposit/borrow limit checks. I don't find it on programs/marginfi/src/instructions/marginfi_account/borrow.rs lending_account_borrow function
Allow flashloans that improve account health -- allow flashloan if account is in bad health, but health health improves: health at end_flashloan > health at start_flashloan
I think this improvement has already been implemented in the code, because according to unit testing, repayment after borrowing meets this description.
The text was updated successfully, but these errors were encountered: