File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed
src/platforms/solana/raydium/clmm Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3582,7 +3582,7 @@ class SwapMath {
35823582 !state.amountSpecifiedRemaining.eq(ZERO) &&
35833583 !state.sqrtPriceX64.eq(sqrtPriceLimitX64)
35843584 ) {
3585- if (loopCount > 10 ) {
3585+ if (loopCount > 100 ) {
35863586 throw Error('liquidity limit')
35873587 }
35883588 const step = {};
Original file line number Diff line number Diff line change @@ -5772,7 +5772,7 @@ class SwapMath {
57725772 !state.amountSpecifiedRemaining.eq(ZERO) &&
57735773 !state.sqrtPriceX64.eq(sqrtPriceLimitX64)
57745774 ) {
5775- if (loopCount > 10 ) {
5775+ if (loopCount > 100 ) {
57765776 throw Error('liquidity limit')
57775777 }
57785778 const step = {};
Original file line number Diff line number Diff line change 35873587 !state.amountSpecifiedRemaining.eq(ZERO) &&
35883588 !state.sqrtPriceX64.eq(sqrtPriceLimitX64)
35893589 ) {
3590- if (loopCount > 10 ) {
3590+ if (loopCount > 100 ) {
35913591 throw Error('liquidity limit')
35923592 }
35933593 const step = {};
Original file line number Diff line number Diff line change 57785778 !state.amountSpecifiedRemaining.eq(ZERO) &&
57795779 !state.sqrtPriceX64.eq(sqrtPriceLimitX64)
57805780 ) {
5781- if (loopCount > 10 ) {
5781+ if (loopCount > 100 ) {
57825782 throw Error('liquidity limit')
57835783 }
57845784 const step = {};
Original file line number Diff line number Diff line change 11{
22 "name" : " @depay/web3-exchanges-evm" ,
33 "moduleName" : " Web3Exchanges" ,
4- "version" : " 15.3.3 " ,
4+ "version" : " 15.3.4 " ,
55 "description" : " JavaScript library simplifying decentralized web3 exchange routing for multiple blockchains and exchanges." ,
66 "main" : " dist/umd/index.evm.js" ,
77 "module" : " dist/esm/index.evm.js" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @depay/web3-exchanges" ,
33 "moduleName" : " Web3Exchanges" ,
4- "version" : " 15.3.3 " ,
4+ "version" : " 15.3.4 " ,
55 "description" : " JavaScript library simplifying decentralized web3 exchange routing for multiple blockchains and exchanges." ,
66 "main" : " dist/umd/index.js" ,
77 "module" : " dist/esm/index.js" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @depay/web3-exchanges-svm" ,
33 "moduleName" : " Web3Exchanges" ,
4- "version" : " 15.3.3 " ,
4+ "version" : " 15.3.4 " ,
55 "description" : " JavaScript library simplifying decentralized web3 exchange routing for multiple blockchains and exchanges." ,
66 "main" : " dist/umd/index.svm.js" ,
77 "module" : " dist/esm/index.svm.js" ,
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class SwapMath {
9292 ! state . amountSpecifiedRemaining . eq ( ZERO ) &&
9393 ! state . sqrtPriceX64 . eq ( sqrtPriceLimitX64 )
9494 ) {
95- if ( loopCount > 10 ) {
95+ if ( loopCount > 100 ) {
9696 throw Error ( 'liquidity limit' )
9797 }
9898 const step = { } ;
You can’t perform that action at this time.
0 commit comments