excude perp oracle pk from helthaccount during close account inst
This commit is contained in:
parent
6139c716ba
commit
02321e705f
|
@ -941,7 +941,7 @@ export class MangoClient {
|
||||||
mangoAccount,
|
mangoAccount,
|
||||||
perpMarketIndex,
|
perpMarketIndex,
|
||||||
);
|
);
|
||||||
healthAccountsToExclude.push(perpMarket.publicKey);
|
healthAccountsToExclude.push(perpMarket.publicKey, perpMarket.oracle);
|
||||||
instructions.push(deactivatingPositionIx);
|
instructions.push(deactivatingPositionIx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue