From 02321e705f8fb5d0751bf6a4bad3c6afe91efebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Brzezin=CC=81ski?= Date: Mon, 13 Feb 2023 16:54:14 +0100 Subject: [PATCH] excude perp oracle pk from helthaccount during close account inst --- ts/client/src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/client/src/client.ts b/ts/client/src/client.ts index 9193777c7..637a6190f 100644 --- a/ts/client/src/client.ts +++ b/ts/client/src/client.ts @@ -941,7 +941,7 @@ export class MangoClient { mangoAccount, perpMarketIndex, ); - healthAccountsToExclude.push(perpMarket.publicKey); + healthAccountsToExclude.push(perpMarket.publicKey, perpMarket.oracle); instructions.push(deactivatingPositionIx); }