Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix(vendor-finance): Debt is getting added to net worth instead of su…
Browse files Browse the repository at this point in the history
…btracting (#1606)
  • Loading branch information
0xdapper authored Oct 21, 2022
1 parent 22acfe2 commit 0bdf084
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class ArbitrumVendorFinanceBalanceFetcher implements BalanceFetcher {
const borrowedBalance = parseInt(borrowerPosition.totalBorrowed);
const balances = [
drillBalance(supplied(collateralToken), suppliedBalance.toString()),
drillBalance(borrowed(lentToken), borrowedBalance.toString()),
drillBalance(borrowed(lentToken), borrowedBalance.toString(), { isDebt: true }),
];

return balances;
Expand Down

0 comments on commit 0bdf084

Please sign in to comment.