diff --git a/foundry/src/TychoRouter.sol b/foundry/src/TychoRouter.sol index d125212..b9f4d1c 100644 --- a/foundry/src/TychoRouter.sol +++ b/foundry/src/TychoRouter.sol @@ -177,6 +177,8 @@ contract TychoRouter is if (unwrapEth) { _unwrapETH(amountOut); + } + if (tokenOut == address(0)) { // slither-disable-next-line arbitrary-send-eth payable(receiver).transfer(amountOut); } else {