From 3053de6d9923132b4a6d05a7a546b52dfc13eda4 Mon Sep 17 00:00:00 2001 From: Samyak Jain <34437877+KaymasJain@users.noreply.github.com> Date: Wed, 14 Apr 2021 05:00:02 +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 8e1f80b..095db96 100644 --- a/contracts/receivers/aave-v2-receiver/helpers.sol +++ b/contracts/receivers/aave-v2-receiver/helpers.sol @@ -123,7 +123,7 @@ abstract contract Helpers is Stores, DSMath, Variables { } targets[spellsAmt] = "BASIC-A"; // TODO: right spell? - castData[spellsAmt] = abi.encode("4bd3ab82", _atoken, _borrowAmt, address(this), 0, 0); // encode the data of atoken withdrawal + castData[spellsAmt] = abi.encode("withdraw(address,uint256,address,uint256,uint256)", _atoken, _borrowAmt, address(this), 0, 0); // encode the data of atoken withdrawal // TODO: Call DSAs cast and borrow (maybe create a new implementation which only this contract can run?) }