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:
parent
ca790c9ef3
commit
b8bf3a1c40
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue