ts: don't alter user margin trade Ixs

This commit is contained in:
Lou-Kamades 2023-11-13 15:04:25 -06:00
parent 4d73d7e633
commit 56480f2268
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@blockworks-foundation/mango-v4",
"version": "0.19.44",
"version": "0.19.48",
"description": "Typescript Client for mango-v4 program.",
"repository": "https://github.com/blockworks-foundation/mango-v4",
"author": {

View File

@ -3400,7 +3400,7 @@ export class MangoClient {
[
...preInstructions,
flashLoanBeginIx,
...userDefinedInstructions.filter((ix) => ix.keys.length > 2),
...userDefinedInstructions,
flashLoanEndIx,
],
{ alts: [...group.addressLookupTablesList, ...userDefinedAlts] },