Skip to content

Commit

Permalink
v7.2.3
Browse files Browse the repository at this point in the history
v7.2.3
  • Loading branch information
platschi authored Jun 9, 2023
2 parents ae19f2f + 12cc6c7 commit 73c31c0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions state/futures/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1393,8 +1393,8 @@ export const submitCrossMarginOrder = createAsyncThunk<void, boolean, ThunkConfi

const desiredFillPrice =
preview.exceedsPriceProtection && overridePriceProtection
? fillPriceWithBuffer(preview.price, tradeInputs.nativeSizeDelta)
: preview.price;
? fillPriceWithBuffer(preview.desiredFillPrice, tradeInputs.nativeSizeDelta)
: preview.desiredFillPrice;

dispatch(
setTransaction({
Expand Down Expand Up @@ -1537,8 +1537,8 @@ export const submitCrossMarginAdjustPositionSize = createAsyncThunk<void, boolea

const desiredFillPrice =
preview.exceedsPriceProtection && overridePriceProtection
? fillPriceWithBuffer(preview.price, wei(nativeSizeDelta))
: preview.price;
? fillPriceWithBuffer(preview.desiredFillPrice, wei(nativeSizeDelta))
: preview.desiredFillPrice;

dispatch(
setTransaction({
Expand Down Expand Up @@ -1597,8 +1597,8 @@ export const submitSmartMarginReducePositionOrder = createAsyncThunk<void, boole

const desiredFillPrice =
preview.exceedsPriceProtection && overridePriceProtection
? fillPriceWithBuffer(preview.price, wei(nativeSizeDelta))
: preview.price;
? fillPriceWithBuffer(preview.desiredFillPrice, wei(nativeSizeDelta))
: preview.desiredFillPrice;

const isClosing = wei(nativeSizeDelta)
.abs()
Expand Down

1 comment on commit 73c31c0

@vercel
Copy link

@vercel vercel bot commented on 73c31c0 Jun 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kwenta – ./

kwenta-kwenta.vercel.app
kwenta-git-main-kwenta.vercel.app
kwenta.io

Please sign in to comment.