-
Notifications
You must be signed in to change notification settings - Fork 125
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
program: pick margin type for end swap check based on difference in f… #528
Conversation
…ree collateral contribution
@@ -2360,6 +2367,14 @@ pub fn handle_begin_swap( | |||
ErrorCode::InvalidSwap, | |||
"only allowed to pass in ixs to token or openbook or Jupiter v3 or v4 programs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this is msg out of date? (doesnt include marinade program?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah
{ | ||
"name": "spotMarketVault", | ||
"isMut": false, | ||
"isSigner": false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this keeps happening (changes from other prs) cause anchor test suite isnt ran locally in branch before merge?
…ree collateral contribution