Open aterehov opened 3 years ago
Having the same issue with eth - compound. It goes through bnb resulting in high price impact
The eth/comp bug is fixed. I'll check for the cake pair.
I'm seeing the same for BUSD to ETH. It wants to route BUSD -> WBNB -> ETH when there is a BUSD/ETH LP with $1.9M USD worth of liquidity in it. This results in paying twice the fee on a swap since it routes through two pools instead of one.
Bug Description Website offers to swap some tokens through low-liquidity pairs while there are high-liquidity pairs for the same tokens. Examples: For BNB to CAKE website offers to use BNB > BUSD > CAKE, while the better route is BNB > CAKE (directly), because there is an $11M pair for that. USDT to NYA swap: website offers USDT > WBNB > NYA, while the better route is USDT > WBNB > CAKE > NYA (more liquidity there)
Steps to Reproduce
Expected Behavior A correct route for USDT > NYA example is USDT > WBNB > CAKE > NYA (or any other through CAKE). The same is for other routes: it should rather choose high-liquidity pairs.
Additional Context Some screenshots showing examples above with wrong routes