Open
Conversation
1462edc to
3be39f2
Compare
bangyro
commented
Feb 16, 2026
Comment on lines
+26
to
+27
| #[msg("Invalid number of users")] | ||
| InvalidNumberOfUsers, |
Collaborator
Author
There was a problem hiding this comment.
Changing the error name here since. This error is also used when the number of user is less than the minimum amount (2)
codewithgun
reviewed
Feb 26, 2026
programs/dynamic-fee-sharing/src/instructions/admin/ix_remove_user.rs
Outdated
Show resolved
Hide resolved
programs/dynamic-fee-sharing/src/instructions/owner/ix_update_operator.rs
Outdated
Show resolved
Hide resolved
programs/dynamic-fee-sharing/src/instructions/owner/ix_update_operator.rs
Show resolved
Hide resolved
codewithgun
reviewed
Feb 26, 2026
|
b743f3a to
d98b8bf
Compare
Collaborator
Author
|
@codewithgun I've renamed it to |
d98b8bf to
681d89c
Compare
bangyro
commented
Feb 27, 2026
Comment on lines
+27
to
+40
| #[account( | ||
| init_if_needed, | ||
| payer = signer, | ||
| seeds = [ | ||
| REMOVED_USER_TOKEN_VAULT, | ||
| fee_vault.key().as_ref(), | ||
| token_mint.key().as_ref(), | ||
| user.key().as_ref(), | ||
| ], | ||
| bump, | ||
| token::mint = token_mint, | ||
| token::authority = fee_vault_authority, | ||
| )] | ||
| pub removed_user_token_vault: Box<InterfaceAccount<'info, TokenAccount>>, |
Collaborator
Author
There was a problem hiding this comment.
need to create this inside the handler conditionally if unclaimed_fee > 0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.