Update contracts/receivers/aave-v2-receiver/main.sol

Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
This commit is contained in:
Samyak Jain 2021-04-23 02:26:49 +05:30 committed by GitHub
parent a74bdd5121
commit f2fde1da5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ contract InstaFlash is AaveV2Migrator {
CastData memory cd;
(cd.dsa, cd.route, cd.tokens, cd.amounts, cd.dsaTargets, cd.dsaData) = abi.decode(
data,
(address, uint256, address[], uint256[], address[], bytes[])
(address, uint256, address[], uint256[], string[], bytes[])
);
DSAInterface(msg.sender).cast(cd.dsaTargets, cd.dsaData, 0xB7fA44c2E964B6EB24893f7082Ecc08c8d0c0F87);
for (uint i = 0; i < _length; i++) {