excude perp oracle pk from helthaccount during close account inst

This commit is contained in:
Adrian Brzeziński 2023-02-13 16:54:14 +01:00
parent 6139c716ba
commit 02321e705f
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,7 @@ export class MangoClient {
mangoAccount,
perpMarketIndex,
);
healthAccountsToExclude.push(perpMarket.publicKey);
healthAccountsToExclude.push(perpMarket.publicKey, perpMarket.oracle);
instructions.push(deactivatingPositionIx);
}