mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Minor change.
This commit is contained in:
parent
b9549a774a
commit
b1c3e807d5
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user