We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1026696 commit 026d21cCopy full SHA for 026d21c
sdk/src/math/liquidation.ts
@@ -75,7 +75,5 @@ export function calculateMaxPctToLiquidate(
75
new BN(0)
76
);
77
78
- return marginFreeable
79
- .mul(LIQUIDATION_PCT_PRECISION)
80
- .div(marginShortage);
+ return marginFreeable.mul(LIQUIDATION_PCT_PRECISION).div(marginShortage);
81
}
0 commit comments