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/helpers.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
This commit is contained in:
parent
ecb57503ee
commit
b3c4bad608
|
@ -94,9 +94,9 @@ contract EulerHelpers is Basic {
|
|||
ImportInputData memory inputData,
|
||||
ImportData memory data
|
||||
) internal view returns (ImportData memory) {
|
||||
uint256 _borrowTokensLength = inputData._borrowTokens.length;
|
||||
uint256 borrowTokensLength_ = inputData._borrowTokens.length;
|
||||
|
||||
if (_borrowTokensLength > 0) {
|
||||
if (borrowTokensLength_ > 0) {
|
||||
data.borrowTokens = new address[](_borrowTokensLength);
|
||||
data.dTokens = new EulerTokenInterface[](_borrowTokensLength);
|
||||
data.borrowAmts = new uint256[](_borrowTokensLength);
|
||||
|
|
Loading…
Reference in New Issue
Block a user