From e51885b016bf7256c91b0c2c5cef1cc0ba476988 Mon Sep 17 00:00:00 2001 From: Samyak Jain <34437877+KaymasJain@users.noreply.github.com> Date: Wed, 14 Apr 2021 04:41:35 +0530 Subject: [PATCH] minor bug fix --- contracts/receivers/aave-v2-receiver/helpers.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/receivers/aave-v2-receiver/helpers.sol b/contracts/receivers/aave-v2-receiver/helpers.sol index 825883b..8e1f80b 100644 --- a/contracts/receivers/aave-v2-receiver/helpers.sol +++ b/contracts/receivers/aave-v2-receiver/helpers.sol @@ -114,7 +114,7 @@ abstract contract Helpers is Stores, DSMath, Variables { targets[k] = "AAVE-V2-A"; castData[k] = abi.encodeWithSignature("borrow(address,uint256,uint256,uint256,uint256)", _token, finalSplit, 2, 0, 0); targets[k+1] = "AAVE-V2-A"; - castData[k+1] = abi.encodeWithSignature("deposit(address,uint256,uint256,uint256,uint256)", _token, splitAmt, 2, 0, 0); + castData[k+1] = abi.encodeWithSignature("deposit(address,uint256,uint256,uint256,uint256)", _token, finalSplit, 2, 0, 0); } }