diff --git a/hydra/program/src/processors/remove_member/process_remove_member.rs b/hydra/program/src/processors/remove_member/process_remove_member.rs index 402a84947..cfb61dbfa 100644 --- a/hydra/program/src/processors/remove_member/process_remove_member.rs +++ b/hydra/program/src/processors/remove_member/process_remove_member.rs @@ -38,7 +38,12 @@ pub fn remove_member(ctx: Context) -> 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, &anchor_lang::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