reorder mango account fields in idl to match on chain order according to MangoAccountFixed

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-08-08 16:46:43 +02:00
parent ca790c9ef3
commit b8bf3a1c40
1 changed files with 2 additions and 1 deletions

View File

@ -49,13 +49,14 @@ pub struct MangoAccount {
// Alternative authority/signer of transactions for a mango account
pub delegate: Pubkey,
pub account_num: u8,
/// This account cannot open new positions or borrow until `init_health >= 0`
being_liquidated: u8,
/// This account cannot do anything except go through `resolve_bankruptcy`
is_bankrupt: u8,
pub account_num: u8,
pub bump: u8,
pub padding: [u8; 4],