-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
bump: anchor v0.22.0 #49
base: master
Are you sure you want to change the base?
Conversation
programs/multisig/src/lib.rs
Outdated
@@ -236,6 +236,7 @@ pub struct ExecuteTransaction<'info> { | |||
seeds = [multisig.key().as_ref()], | |||
bump = multisig.nonce, | |||
)] | |||
/// CHECK: is_signer will be enabled when it actually gets executed |
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.
Let's change this to /// CHECK: multisig_signer is a PDA program signer. Data is never read or written to.
and also move this comment above the attribute, assuming the lint doesn't complain.
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.
Hi, thanks for looking. @armaniferrante
I'm not sure what move this comment above the attribute
means, I tried to put this above the struct declaration, and over the #[derive(Accounts)]
attribute but got the error that it wants the /// CHECK:
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.
I meant above the #[account(...)]
attribute.
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.
got it! done in 77bf80a (squashed commit for clarity)
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.
lgtm, but we need restart CI
No description provided.