We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4afd5b commit 2e0a1f3Copy full SHA for 2e0a1f3
programs/merkle-distributor/src/instructions/clawback_now.rs
@@ -28,9 +28,8 @@ pub struct ClawbackNow<'info> {
28
#[account(mut, address = distributor.clawback_receiver)]
29
pub to: Account<'info, TokenAccount>,
30
31
- /// Claimant account
32
- /// Anyone can claw back the funds
33
- pub claimant: Signer<'info>,
+ #[account(mut, address = distributor.admin @ ErrorCode::Unauthorized)]
+ pub admin: Signer<'info>,
34
35
/// The [System] program.
36
pub system_program: Program<'info, System>,
0 commit comments