Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-08-05 16:17:29 +02:00
parent 46e9a1a82c
commit dd22ca2ad6
2 changed files with 7 additions and 2 deletions

2
anchor

@ -1 +1 @@
Subproject commit 2058b6461cb0de5af90b04eb8fae4225a368251e
Subproject commit 442c00634e847af84672727dc00b45a2c8d0a956

View File

@ -8,7 +8,12 @@ use crate::state::*;
pub struct AccountClose<'info> {
pub group: AccountLoader<'info, Group>,
#[account(mut, has_one = group, has_one = owner, close = sol_destination)]
#[account(
mut,
has_one = group,
has_one = owner,
close = sol_destination
)]
pub account: AccountLoaderDynamic<'info, MangoAccount>,
pub owner: Signer<'info>,