flipped price needed one more flip

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-09-08 13:52:34 +02:00
parent 5c90007892
commit 436ded7122
3 changed files with 7 additions and 7 deletions

View File

@ -485,7 +485,7 @@ const LimitSwapForm = ({
outputBank,
inputBank,
parseFloat(triggerPrice),
flipPrices,
!flipPrices,
amountIn,
null,
true,
@ -513,7 +513,7 @@ const LimitSwapForm = ({
outputBank,
inputBank,
parseFloat(triggerPrice),
flipPrices,
!flipPrices,
amountIn,
null,
true,

View File

@ -22,7 +22,7 @@
},
"dependencies": {
"@blockworks-foundation/mango-feeds": "0.1.7",
"@blockworks-foundation/mango-v4": "^0.19.25",
"@blockworks-foundation/mango-v4": "^0.19.27",
"@blockworks-foundation/mango-v4-settings": "0.2.8",
"@headlessui/react": "1.6.6",
"@heroicons/react": "2.0.10",

View File

@ -34,10 +34,10 @@
bn.js "^5.2.1"
eslint-config-prettier "^9.0.0"
"@blockworks-foundation/mango-v4@^0.19.25":
version "0.19.25"
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.19.25.tgz#01a5fa7efa12cbd787f7e2f341e4325201cbf4f8"
integrity sha512-TEzo8RH3DRszlv5YmNHFSzPSLjK1DwvARmKlC62LAZvMUzPM87xtEkNbQxNFzMzGq1oLJPpdW4R+J/jVJBtN1g==
"@blockworks-foundation/mango-v4@^0.19.27":
version "0.19.27"
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.19.27.tgz#73203fecd7cca5ceea658ede8788b72974778d48"
integrity sha512-UEGTcxWLe0wga+RSTdBzoUUev2oCXV2az0s3RCcU7BlQ2UPnQDWSfbO/rmxPmveKYFSBGW+RsiSzLlXAmm9hPQ==
dependencies:
"@coral-xyz/anchor" "^0.27.0"
"@project-serum/serum" "0.13.65"