Skip to content

Commit 026d21c

Browse files
committed
prettify
1 parent 1026696 commit 026d21c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sdk/src/math/liquidation.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,5 @@ export function calculateMaxPctToLiquidate(
7575
new BN(0)
7676
);
7777

78-
return marginFreeable
79-
.mul(LIQUIDATION_PCT_PRECISION)
80-
.div(marginShortage);
78+
return marginFreeable.mul(LIQUIDATION_PCT_PRECISION).div(marginShortage);
8179
}

0 commit comments

Comments
 (0)