format
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
46e9a1a82c
commit
dd22ca2ad6
2
anchor
2
anchor
|
@ -1 +1 @@
|
||||||
Subproject commit 2058b6461cb0de5af90b04eb8fae4225a368251e
|
Subproject commit 442c00634e847af84672727dc00b45a2c8d0a956
|
|
@ -8,7 +8,12 @@ use crate::state::*;
|
||||||
pub struct AccountClose<'info> {
|
pub struct AccountClose<'info> {
|
||||||
pub group: AccountLoader<'info, Group>,
|
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 account: AccountLoaderDynamic<'info, MangoAccount>,
|
||||||
pub owner: Signer<'info>,
|
pub owner: Signer<'info>,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue