Skip to content

Commit

Permalink
fix: 'CHECK' Comment and Position
Browse files Browse the repository at this point in the history
  • Loading branch information
yasushisakai committed Feb 24, 2022
1 parent 6748734 commit 77bf80a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/multisig/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@ pub struct Auth<'info> {
pub struct ExecuteTransaction<'info> {
#[account(constraint = multisig.owner_set_seqno == transaction.owner_set_seqno)]
multisig: Box<Account<'info, Multisig>>,
/// CHECK: multisig_signer is a PDA program signer. Data is never read or written to.
#[account(
seeds = [multisig.key().as_ref()],
bump = multisig.nonce,
)]
/// CHECK: is_signer will be enabled when it actually gets executed
multisig_signer: UncheckedAccount<'info>,
#[account(mut, has_one = multisig)]
transaction: Box<Account<'info, Transaction>>,
Expand Down

0 comments on commit 77bf80a

Please sign in to comment.