fix net borrows value

This commit is contained in:
saml33 2023-05-01 21:54:25 +10:00
parent e6e86bcf96
commit 2a8dc2c283
1 changed files with 1 additions and 2 deletions

View File

@ -119,8 +119,7 @@ const TokenParams = ({ bank }: { bank: Bank }) => {
<p className="font-mono text-th-fgd-2">
{formatCurrencyValue(
toUiDecimalsForQuote(
I80F48.fromI64(bank.netBorrowsInWindow).toNumber() *
bank.uiPrice
I80F48.fromI64(bank.netBorrowsInWindow).mul(bank.price)
)
)}
</p>