ts: tcs fix price display input to tx

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-09-08 12:07:51 +02:00
parent 3fda20e3da
commit 5bf737847f
1 changed files with 3 additions and 1 deletions

View File

@ -3692,7 +3692,9 @@ export class MangoClient {
pricePremiumRate,
allowCreatingDeposits,
allowCreatingBorrows,
displayPriceInSellTokenPerBuyToken,
displayPriceInSellTokenPerBuyToken
? TokenConditionalSwapDisplayPriceStyle.sellTokenPerBuyToken
: TokenConditionalSwapDisplayPriceStyle.buyTokenPerSellToken,
intention,
);
}