Skip to content

Commit

Permalink
Adding allowance for hydra owned member wallets. (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
blockiosaurus authored Jun 26, 2023
1 parent 7b1231c commit bfa821e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydra/program/src/processors/distribute/wallet_member.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub fn distribute_for_wallet(
let member = &mut ctx.accounts.member;
assert_owned_by(&fanout_info, &crate::ID)?;
assert_owned_by(&membership_voucher_info, &crate::ID)?;
assert_owned_by(&member.to_account_info(), &System::id())?;
assert_owned_by_one(&member.to_account_info(), vec![&System::id(), &crate::id()])?;
assert_membership_model(fanout, MembershipModel::Wallet)?;
assert_shares_distributed(fanout)?;
if distribute_for_mint {
Expand Down

0 comments on commit bfa821e

Please sign in to comment.