-
Notifications
You must be signed in to change notification settings - Fork 0
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
MGT-345: Initialize rewards-pool deposit authority signature #9
MGT-345: Initialize rewards-pool deposit authority signature #9
Conversation
@@ -24,12 +24,11 @@ pub enum RewardsInstruction { | |||
/// [R] Reward mint account | |||
/// [W] Vault account | |||
/// [WS] Payer | |||
/// [R] Rent sysvar | |||
/// [WS] Deposit authority account |
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.
Haven't we agreed that it should be just S
?
fill_authority: Pubkey, | ||
distribution_authority: Pubkey, | ||
rent: AccountInfo<'a>, |
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.
Please, put rent
just after deposit_authority
everywhere
registrar.realm = ctx.accounts.realm.key(); | ||
registrar.realm_governing_token_mint = ctx.accounts.realm_governing_token_mint.key(); | ||
registrar.realm_authority = ctx.accounts.realm_authority.key(); | ||
let signers_seeds = { |
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.
please, leave a describing comment here. It looks strange that signers_seeds
includes all the operations below. I just showed this as an example. Also, you may want to redeclare the block or do sth else.
LGTM |
No description provided.