From d2268093daaa245cc5f70f1e574828375124fb82 Mon Sep 17 00:00:00 2001 From: Shriya Tyagi <47134275+shriyatyagii@users.noreply.github.com> Date: Fri, 26 Aug 2022 22:30:52 +0530 Subject: [PATCH] Update contracts/mainnet/connectors/euler/euler-import/main.sol Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com> --- contracts/mainnet/connectors/euler/euler-import/main.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/mainnet/connectors/euler/euler-import/main.sol b/contracts/mainnet/connectors/euler/euler-import/main.sol index 4022569e..77d589f8 100644 --- a/contracts/mainnet/connectors/euler/euler-import/main.sol +++ b/contracts/mainnet/connectors/euler/euler-import/main.sol @@ -93,7 +93,7 @@ contract EulerImport is EulerHelpers { uint16 k = 0; for (uint16 i = 0; i < helper.supplylength; i++) { - items[k] = IEulerExecute.EulerBatchItem({ + items[k++] = IEulerExecute.EulerBatchItem({ allowError: false, proxyAddr: address(data.eTokens[i]), data: abi.encodeWithSignature( @@ -103,7 +103,6 @@ contract EulerImport is EulerHelpers { data.supplyAmts[i] ) }); - k++; if (inputData._enterMarket[i]) { items[k] = IEulerExecute.EulerBatchItem({