Disable TokenAddBank instruction (#803)
It was unused for a long time and it should be reevaluated before being
used.
(cherry picked from commit f03944b5dd
)
This commit is contained in:
parent
eceef44a96
commit
04f0f55aa5
|
@ -10,7 +10,12 @@ pub struct TokenAddBank<'info> {
|
|||
#[account(
|
||||
has_one = admin,
|
||||
constraint = group.load()?.is_ix_enabled(IxGate::TokenAddBank) @ MangoError::IxIsDisabled,
|
||||
constraint = group.load()?.multiple_banks_supported()
|
||||
constraint = group.load()?.multiple_banks_supported(),
|
||||
// Concerns are:
|
||||
// - general reaudit
|
||||
// - client support
|
||||
// - potential_serum_tokens
|
||||
constraint = group.load()?.is_testing(),
|
||||
)]
|
||||
pub group: AccountLoader<'info, Group>,
|
||||
pub admin: Signer<'info>,
|
||||
|
|
Loading…
Reference in New Issue