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

make ref account optional in settle funds #262

Conversation

abrzezinski94
Copy link
Contributor

No description provided.

@brittcyr
Copy link
Contributor

brittcyr commented Nov 8, 2024

This needs a change in the idl, I can do that in a couple hours

@abrzezinski94
Copy link
Contributor Author

This needs a change in the idl, I can do that in a couple hours

Are you sure it’s already optional in rust?

@brittcyr
Copy link
Contributor

brittcyr commented Nov 8, 2024

Contributor

Looks like it was supposed to be

#[account(13, writable, name = "referrer_token_account", desc = "Referrer fee token account")]

but wasnt done correctly for idl

program is supposed to handle it

let referrer_token_account: Result<&AccountInfo, ProgramError> =

@brittcyr
Copy link
Contributor

brittcyr commented Nov 8, 2024

Doing it here
#264

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.

2 participants