diff --git a/contracts/protocols/InstaMaker.sol b/contracts/protocols/InstaMaker.sol index e7513b2..779bd67 100644 --- a/contracts/protocols/InstaMaker.sol +++ b/contracts/protocols/InstaMaker.sol @@ -237,8 +237,8 @@ contract BorrowTasks is RepayLoan { return uint(ethrate).div(10**18); } - function getCDPID(address borrower) public view returns (uint) { - return uint(cdps[borrower]); + function getCDPID(address borrower) public view returns (uint, bytes32) { + return (uint(cdps[borrower]), cdps[borrower]); } function approveERC20() public {