diff --git a/src/V4Router.sol b/src/V4Router.sol index 1def436ec..38e487a9f 100644 --- a/src/V4Router.sol +++ b/src/V4Router.sol @@ -145,7 +145,6 @@ abstract contract V4Router is IV4Router, BaseActionsRouter, DeltaResolver { amountIn = (uint256(-int256(_swap(poolKey, !oneForZero, int256(uint256(amountOut)), pathKey.hookData)))) .toUint128(); - amountOut = amountIn; currencyOut = pathKey.intermediateCurrency; } if (amountIn > params.amountInMaximum) revert V4TooMuchRequested(params.amountInMaximum, amountIn);