Skip to content

Commit

Permalink
Merge pull request #546 from liquity/zappers_fix_hybrid_fee
Browse files Browse the repository at this point in the history
fix: Fix wrong uni V3 fee in Zappers hybrid exchange
  • Loading branch information
bingen authored Oct 31, 2024
2 parents cce0fb7 + 78285f8 commit 5517831
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 5517831

Please sign in to comment.