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
4b7fa7288b
commit
66bdb44a4d
|
@ -88,13 +88,14 @@ pub struct MangoAccount {
|
||||||
// Alternative authority/signer of transactions for a mango account
|
// Alternative authority/signer of transactions for a mango account
|
||||||
pub delegate: Pubkey,
|
pub delegate: Pubkey,
|
||||||
|
|
||||||
|
pub account_num: u8,
|
||||||
|
|
||||||
/// This account cannot open new positions or borrow until `init_health >= 0`
|
/// This account cannot open new positions or borrow until `init_health >= 0`
|
||||||
being_liquidated: u8,
|
being_liquidated: u8,
|
||||||
|
|
||||||
/// This account cannot do anything except go through `resolve_bankruptcy`
|
/// This account cannot do anything except go through `resolve_bankruptcy`
|
||||||
is_bankrupt: u8,
|
is_bankrupt: u8,
|
||||||
|
|
||||||
pub account_num: u8,
|
|
||||||
pub bump: u8,
|
pub bump: u8,
|
||||||
|
|
||||||
pub padding: [u8; 4],
|
pub padding: [u8; 4],
|
||||||
|
|
Loading…
Reference in New Issue