mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
fix
This commit is contained in:
parent
8bf26ed1cd
commit
3b8aa3f0a1
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user