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:41:38 +05:30 committed by GitHub
parent d3582e37b9
commit 0f360e399d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ contract EulerImport is EulerHelpers {
} }
for (uint16 j = 0; j < helper.borrowlength; j++) { for (uint16 j = 0; j < helper.borrowlength; j++) {
items[k] = IEulerExecute.EulerBatchItem({ items[k++] = IEulerExecute.EulerBatchItem({
allowError: false, allowError: false,
proxyAddr: address(data.dTokens[j]), proxyAddr: address(data.dTokens[j]),
data: abi.encodeWithSignature( data: abi.encodeWithSignature(
@ -128,7 +128,6 @@ contract EulerImport is EulerHelpers {
data.borrowAmts[j] data.borrowAmts[j]
) )
}); });
k++;
} }
address[] memory deferLiquidityChecks = new address[](2); address[] memory deferLiquidityChecks = new address[](2);