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:
Shriya Tyagi 2022-08-26 22:29:54 +05:30 committed by GitHub
parent ecb57503ee
commit b3c4bad608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);