mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
fixed bug on V2 to v3 migration
This commit is contained in:
parent
8cf500a1fa
commit
d78c59e7eb
|
@ -98,6 +98,16 @@ contract _AaveHelper is Helper {
|
||||||
data.stableBorrowAmts = new uint256[](
|
data.stableBorrowAmts = new uint256[](
|
||||||
inputData.borrowTokens.length
|
inputData.borrowTokens.length
|
||||||
);
|
);
|
||||||
|
data.variableBorrowAmtsWithFee = new uint256[](
|
||||||
|
inputData.borrowTokens.length
|
||||||
|
);
|
||||||
|
data.stableBorrowAmtsWithFee = new uint256[](
|
||||||
|
inputData.borrowTokens.length
|
||||||
|
);
|
||||||
|
data.data.totalBorrowAmtsWithFee = new uint256[](
|
||||||
|
inputData.borrowTokens.length
|
||||||
|
);
|
||||||
|
|
||||||
data.totalBorrowAmts = new uint256[](inputData.borrowTokens.length);
|
data.totalBorrowAmts = new uint256[](inputData.borrowTokens.length);
|
||||||
for (uint256 i = 0; i < inputData.borrowTokens.length; i++) {
|
for (uint256 i = 0; i < inputData.borrowTokens.length; i++) {
|
||||||
for (uint256 j = i; j < inputData.borrowTokens.length; j++) {
|
for (uint256 j = i; j < inputData.borrowTokens.length; j++) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user