This commit is contained in:
Thrilok kumar 2022-09-03 01:59:30 +05:30
parent 8bf26ed1cd
commit 3b8aa3f0a1

View File

@ -178,7 +178,7 @@ abstract contract Helpers is DSMath, Basic {
) internal returns (uint256 balance) {
if (asset == getBaseToken(market)) {
//balance in base
balance = TokenInterface(market).balanceOf(account);
balance = CometInterface(market).balanceOf(account);
} else {
//balance in asset denomination
balance = uint256(