Returning bytes32 of CDP with getCDPID.

This commit is contained in:
Sowmayjain 2018-11-28 03:32:53 +05:30
parent 054f069baa
commit a6b326be90

View File

@ -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 {