Update contracts/mainnet/connectors/euler/euler-import/main.sol

Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
This commit is contained in:
Shriya Tyagi 2022-08-26 22:30:52 +05:30 committed by GitHub
parent b3c4bad608
commit d2268093da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({