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

Commit

Permalink
fix(raft): fix cratio percentage (#2743)
Browse files Browse the repository at this point in the history
Vukašin | Raft — Today at 5:40 PM
One small issue regarding C-ratio formatting. It should be 153.9%, not 1.539%
Image
  • Loading branch information
tonzgao committed Jun 14, 2023
1 parent 90d5102 commit 0b8c360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/raft/ethereum/raft.position-presenter.ts
Expand Up @@ -39,7 +39,7 @@ export class EthereumRaftPositionPresenter extends PositionPresenterTemplate {
const liquidationPrice = minCRatio * debt / collateral.balance

return [
{ label: 'C-Ratio', ...buildPercentageDisplayItem(cRatio) },
{ label: 'C-Ratio', ...buildPercentageDisplayItem(cRatio * 100) },
{ label: 'Liquidation Price', ...buildDollarDisplayItem(liquidationPrice) },
];
}
Expand Down

0 comments on commit 0b8c360

Please sign in to comment.