Skip to content

Commit 3b359d3

Browse files
committed
fix: rm unnecessary casting
1 parent eef6e77 commit 3b359d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/curve/stable/StablePair.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ contract StablePair is ReservoirPair {
293293
uint256 lReceived = lTokenOut == token0 ? lBalance1 - lReserve1 : lBalance0 - lReserve0;
294294
require(lReceived >= lAmountIn, InsufficientAmtIn());
295295

296-
_update(lBalance0, lBalance1, uint104(lReserve0), uint104(lReserve1), lBlockTimestampLast, lIndex);
296+
_update(lBalance0, lBalance1, lReserve0, lReserve1, lBlockTimestampLast, lIndex);
297297
emit Swap(msg.sender, lTokenOut == token1, lReceived, rAmountOut, aTo);
298298
}
299299

0 commit comments

Comments
 (0)