Skip to content

Conversation

@SwenSchaeferjohann
Copy link
Contributor

  • moving dirs
  • adding claim

let derived_pda =
Pubkey::create_program_address(seeds, claim_program).expect("Invalid PDA seeds.");

if derived_pda != *airdrop_account {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can probably use the light-account-checks method for this check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants