exclude Serum jup routes due to lg tx size
This commit is contained in:
parent
6630f554cc
commit
0800e9f30f
|
@ -88,7 +88,8 @@ const useJupiter = ({
|
|||
const routesInfosWithoutRaydium = computedRoutes?.routesInfos.filter(
|
||||
(r) => {
|
||||
for (const mkt of r.marketInfos) {
|
||||
if (mkt.amm.label === 'Raydium') return false
|
||||
if (mkt.amm.label === 'Raydium' || mkt.amm.label === 'Serum')
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue