mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
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:
parent
b3c4bad608
commit
d2268093da
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue
Block a user