Minor change.

This commit is contained in:
Sowmayjain 2018-11-28 17:25:10 +05:30
parent b9549a774a
commit b1c3e807d5

View File

@ -234,7 +234,7 @@ contract BorrowTasks is RepayLoan {
PriceInterface ethRate = PriceInterface(getAddress("ethfeed")); PriceInterface ethRate = PriceInterface(getAddress("ethfeed"));
bytes32 ethrate; bytes32 ethrate;
(ethrate, ) = ethRate.peek(); (ethrate, ) = ethRate.peek();
return uint(ethrate).div(10**18); return uint(ethrate);
} }
function getCDP(address borrower) public view returns (uint, bytes32) { function getCDP(address borrower) public view returns (uint, bytes32) {