Skip to content

Commit 995c599

Browse files
committed
Allow lamport receiver to be mutable as well
1 parent 1a8f2da commit 995c599

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • programs/autocrat_v0/src

programs/autocrat_v0/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ pub struct TransferTo<'info> {
526526
#[account(mut)]
527527
pub dao_treasury: Signer<'info>,
528528
/// CHECK: no r/w, just lamport add
529+
#[account(mut)]
529530
pub lamport_receiver: UncheckedAccount<'info>,
530531
}
531532

0 commit comments

Comments
 (0)