Update contracts/polygon/connectors/aave/v2-to-v3-import/helpers.sol

This commit is contained in:
Thrilok kumar 2022-03-16 22:16:49 +04:00 committed by GitHub
parent e1b5ae0223
commit d90d18649b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ contract _AaveHelper is Helper {
ImportData memory data
) internal returns (ImportData memory) {
if (inputData.borrowTokens.length > 0) {
data._borrowTokens = new address[](inputData.borrowTokens.length);
data._borrowTokens = new address[](inputData.borrowTokens.length);
data.variableBorrowAmts = new uint256[](
inputData.borrowTokens.length
);