Skip to content

Commit

Permalink
liquidator: fix duplicate ixs
Browse files Browse the repository at this point in the history
  • Loading branch information
wphan committed Jan 28, 2025
1 parent fa382ca commit 1fa25ea
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/bots/liquidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -856,18 +856,6 @@ export class LiquidatorBot implements Bot {
subAccountId
),
});
swapIx.ixs.unshift(
ComputeBudgetProgram.setComputeUnitPrice({
microLamports: Math.floor(
this.priorityFeeSubscriber!.getCustomStrategyResult()
),
})
);
swapIx.ixs.unshift(
ComputeBudgetProgram.setComputeUnitLimit({
units: 1_400_000,
})
);
const lookupTables = [...swapIx.lookupTables, this.driftLookupTables!];
if (this.driftSpotLookupTables) {
lookupTables.push(this.driftSpotLookupTables);
Expand Down

0 comments on commit 1fa25ea

Please sign in to comment.