Skip to content

Commit 065cf6c

Browse files
clean
1 parent 56e7400 commit 065cf6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EulerSwapPeriphery.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ contract EulerSwapPeriphery is IEulerSwapPeriphery {
254254
(IEVault vault0, IEVault vault1) = (IEVault(es.vault0()), IEVault(es.vault1()));
255255
// Supply caps on input
256256
{
257-
IEVault vault = IEVault(asset0IsInput ? vault0 : vault1);
257+
IEVault vault = (asset0IsInput ? vault0 : vault1);
258258
uint256 maxDeposit = vault.debtOf(eulerAccount) + vault.maxDeposit(eulerAccount);
259259
if (maxDeposit < inLimit) inLimit = maxDeposit;
260260
}
@@ -268,7 +268,7 @@ contract EulerSwapPeriphery is IEulerSwapPeriphery {
268268

269269
// Remaining cash and borrow caps in output
270270
{
271-
IEVault vault = IEVault(asset0IsInput ? vault1 : vault0);
271+
IEVault vault = (asset0IsInput ? vault1 : vault0);
272272

273273
uint256 cash = vault.cash();
274274
if (cash < outLimit) outLimit = cash;

0 commit comments

Comments
 (0)