Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
add: check
Browse files Browse the repository at this point in the history
  • Loading branch information
abishekk92 committed Mar 7, 2023
1 parent d63e3d0 commit 57922ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions programs/gpl_session/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ pub struct CreateSessionToken<'info> {
#[account(mut)]
pub authority: Signer<'info>,

/// CHECK the target program is actually a program.
#[account(executable)]
pub target_program: AccountInfo<'info>,

Expand Down

0 comments on commit 57922ad

Please sign in to comment.