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

Update one seller fee basis points #143

Merged
merged 3 commits into from
Jun 23, 2022

Conversation

the-mercenaries-ltd
Copy link
Contributor

No description provided.

client: &RpcClient,
keypair: Option<String>,
mint_account: &str,
new_seller_fee_basis_points: &u16,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this doesn't need to be a reference as Rust primitives are stack copied when needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I don't understand. Are you saying don't use & in function parameters?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah the & shouldn't be necessary, but it's not a big deal.

@samuelvanderwaal
Copy link
Owner

This looks good, thanks! Run rust fmt on it to fix the CI issue and I'll give it a quick test and merge it.

@the-mercenaries-ltd
Copy link
Contributor Author

Happy to help 👍

@samuelvanderwaal samuelvanderwaal merged commit bcd3db7 into samuelvanderwaal:main Jun 23, 2022
@samuelvanderwaal
Copy link
Owner

Merged! Thanks again!

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