Skip to content

Commit

Permalink
infinite slippage fix noticed from ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lowkeynicc committed Dec 9, 2024
1 parent ae3ffa8 commit 6ff1159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common-ts/src/common-ui-utils/commonUiUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ const deriveMarketOrderParams = ({
const limitPrice = getMarketOrderLimitPrice({
direction,
baselinePrice: priceObject[auctionStartPriceOffsetFrom],
slippageTolerance,
slippageTolerance: allowInfSlippage ? undefined : slippageTolerance,
});

const auctionParams = getMarketAuctionParams({
Expand Down

0 comments on commit 6ff1159

Please sign in to comment.