Skip to content

Commit

Permalink
Move signers to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Oct 16, 2024
1 parent d53903a commit 8b5b4b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pub struct InitializeIncentiveProgramArgsV0 {
pub struct InitializeIncentiveProgramV0<'info> {
#[account(mut)]
pub payer: Signer<'info>,
pub issuing_authority: Signer<'info>,
#[account(
seeds = ["program_approval".as_bytes(), dao.key().as_ref(), crate::id().as_ref()],
seeds::program = helium_entity_manager_program.key(),
Expand All @@ -39,7 +40,6 @@ pub struct InitializeIncentiveProgramV0<'info> {
constraint = carrier.approved @ ErrorCode::CarrierNotApproved
)]
pub carrier: Box<Account<'info, CarrierV0>>,
pub issuing_authority: Signer<'info>,
pub collection: Box<Account<'info, Mint>>,
/// CHECK: Handled by cpi
#[account(
Expand Down

0 comments on commit 8b5b4b4

Please sign in to comment.