chore: forge fmt

This commit is contained in:
pistomat
2024-04-13 11:11:34 +00:00
parent 1738ca7bd2
commit 54e4c9f92e
4 changed files with 57 additions and 42 deletions

View File

@@ -150,10 +150,7 @@ contract EtherfiAdapter is ISwapAdapter {
/// @dev Limits are underestimated to 90% of totalSupply as both weEth
/// and eEth have no limits but revert in some cases
if (
sellToken == address(weEth)
|| buyToken == address(weEth)
) {
if (sellToken == address(weEth) || buyToken == address(weEth)) {
limits[0] = IERC20(address(weEth)).totalSupply() * 90 / 100;
} else {
limits[0] = IERC20(address(eEth)).totalSupply() * 90 / 100;