From b1c3e807d5aa0347c3f5809f3aee54642c0656ee Mon Sep 17 00:00:00 2001 From: Sowmayjain Date: Wed, 28 Nov 2018 17:25:10 +0530 Subject: [PATCH] Minor change. --- contracts/protocols/InstaMaker.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/protocols/InstaMaker.sol b/contracts/protocols/InstaMaker.sol index d8f0d4d..c4b58b4 100644 --- a/contracts/protocols/InstaMaker.sol +++ b/contracts/protocols/InstaMaker.sol @@ -234,7 +234,7 @@ contract BorrowTasks is RepayLoan { PriceInterface ethRate = PriceInterface(getAddress("ethfeed")); bytes32 ethrate; (ethrate, ) = ethRate.peek(); - return uint(ethrate).div(10**18); + return uint(ethrate); } function getCDP(address borrower) public view returns (uint, bytes32) {