File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,15 +59,15 @@ contract EulerSwapHook is EulerSwap, BaseHook {
59
59
60
60
{
61
61
(Currency inputCurrency , Currency outputCurrency ) =
62
- params. zeroForOne ? (key.currency0, key.currency1) : (key.currency1, key.currency0);
62
+ zeroForOne ? (key.currency0, key.currency1) : (key.currency1, key.currency0);
63
63
64
64
uint256 amountIn;
65
65
bool isExactInput = params.amountSpecified < 0 ;
66
66
if (isExactInput) {
67
67
amountIn = uint256 (- params.amountSpecified);
68
- amountOut = computeQuote (params. zeroForOne, uint256 (- params.amountSpecified), true );
68
+ amountOut = computeQuote (zeroForOne, uint256 (- params.amountSpecified), true );
69
69
} else {
70
- amountIn = computeQuote (params. zeroForOne, uint256 (params.amountSpecified), false );
70
+ amountIn = computeQuote (zeroForOne, uint256 (params.amountSpecified), false );
71
71
amountOut = uint256 (params.amountSpecified);
72
72
}
73
73
You can’t perform that action at this time.
0 commit comments