diff --git a/contracts/swap/FlashSwapRouterV3.sol b/contracts/swap/FlashSwapRouterV3.sol index 3bc4147e..58b816e4 100644 --- a/contracts/swap/FlashSwapRouterV3.sol +++ b/contracts/swap/FlashSwapRouterV3.sol @@ -159,8 +159,7 @@ contract FlashSwapRouterV3 is ITranchessSwapCallee, ITrancheIndexV2, Ownable { require(resultAmount >= minQuote, "Insufficient output"); IERC20(tokenQuote).safeTransfer(recipient, resultAmount); } - uint256 weightB = fund.weightB(); - emit SwapRook(recipient, inB.div(weightB), 0, 0, resultAmount); + emit SwapRook(recipient, inR, 0, 0, resultAmount); } function tranchessSwapCallback(