maker minor fix

This commit is contained in:
Thrilok Kumar 2021-05-27 05:24:04 +05:30
parent 9e6f079dbc
commit ec258253d7

View File

@ -1,6 +1,5 @@
pragma solidity ^0.7.0; pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2; pragma experimental ABIEncoderV2;
import "hardhat/console.sol";
import {DSMath} from "./common/math.sol"; import {DSMath} from "./common/math.sol";
@ -66,7 +65,6 @@ contract VaultResolver is Variables, DSMath {
uint256 supply = wmul(ink, price); uint256 supply = wmul(ink, price);
uint256 borrow = rmul(art, rate); uint256 borrow = rmul(art, rate);
borrow = borrow / 1e9;
networth = sub(supply, borrow); networth = sub(supply, borrow);
} }