From 6579a5c3dd4b62f8bad9c4b29f46cfcb9d4f8153 Mon Sep 17 00:00:00 2001 From: kinrezc Date: Mon, 15 Jul 2024 14:55:42 -0400 Subject: [PATCH] fix: token for yt return values --- test/invariant/RMMHandler.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/invariant/RMMHandler.sol b/test/invariant/RMMHandler.sol index f0d828c..6ef5178 100644 --- a/test/invariant/RMMHandler.sol +++ b/test/invariant/RMMHandler.sol @@ -167,7 +167,7 @@ contract RMMHandler is CommonBase, StdUtils, StdCheats { ); weth.approve(address(rmm), amountTokenIn); - (uint256 realYtOut, uint256 amountInWad, uint256 amountOutWad, int256 deltaLiquidity) = rmm.swapExactTokenForYt( + (, uint256 amountInWad, uint256 amountOutWad, int256 deltaLiquidity) = rmm.swapExactTokenForYt( address(weth), amountTokenIn, ytOut,