Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cxp 13/duplicate check start flashloan #249

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cxp-13
Copy link

@cxp-13 cxp-13 commented Sep 22, 2024

The validity of marginfi_account has been checked at the beginning of the check_flashloan_can_start function. the state of marginfi_account remains unchanged until the end. Checking the validity of marginfi_account again at the end is redundant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant