Skip to content

Commit

Permalink
solana program doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
staccDOTsol committed Mar 26, 2024
1 parent 8a6e022 commit 39e6609
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn remove_member(ctx: Context<RemoveMember>) -> Result<()> {
assert_owned_by(&fanout.to_account_info(), &crate::ID)?;
assert_owned_by(&member_voucher.to_account_info(), &crate::ID)?;
update_fanout_for_remove(fanout)?;
if assert_owned_by(&ctx.accounts.destination, &solana_program::system_program::id()).is_err() {
if assert_owned_by(&ctx.accounts.destination, &anchor_lang::solana_program::system_program::id()).is_err() {
return Err(HydraError::InvalidCloseAccountDestination.into());
}
if fanout.membership_model != MembershipModel::NFT
Expand Down

0 comments on commit 39e6609

Please sign in to comment.