Skip to content

Commit

Permalink
fix: Fix wrong uni V3 fee in Zappers hybrid exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
bingen committed Oct 25, 2024
1 parent 5494909 commit 78285f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ contract HybridCurveUniV3Exchange is LeftoversSweep, IExchange {
// See: https://docs.uniswap.org/contracts/v3/guides/swaps/multihop-swaps
bytes memory path;
if (address(WETH) == address(collToken)) {
path = abi.encodePacked(USDC, feeWethColl, WETH);
path = abi.encodePacked(USDC, feeUsdcWeth, WETH);
} else {
path = abi.encodePacked(USDC, feeUsdcWeth, WETH, feeWethColl, collToken);
}
Expand Down

0 comments on commit 78285f8

Please sign in to comment.