File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ contract EulerSwapPeriphery is IEulerSwapPeriphery {
254
254
(IEVault vault0 , IEVault vault1 ) = (IEVault (es.vault0 ()), IEVault (es.vault1 ()));
255
255
// Supply caps on input
256
256
{
257
- IEVault vault = IEVault (asset0IsInput ? vault0 : vault1);
257
+ IEVault vault = (asset0IsInput ? vault0 : vault1);
258
258
uint256 maxDeposit = vault.debtOf (eulerAccount) + vault.maxDeposit (eulerAccount);
259
259
if (maxDeposit < inLimit) inLimit = maxDeposit;
260
260
}
@@ -268,7 +268,7 @@ contract EulerSwapPeriphery is IEulerSwapPeriphery {
268
268
269
269
// Remaining cash and borrow caps in output
270
270
{
271
- IEVault vault = IEVault (asset0IsInput ? vault1 : vault0);
271
+ IEVault vault = (asset0IsInput ? vault1 : vault0);
272
272
273
273
uint256 cash = vault.cash ();
274
274
if (cash < outLimit) outLimit = cash;
You can’t perform that action at this time.
0 commit comments