add workaround to computing max perp trade
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
cd3f6a684a
commit
3191a10622
|
@ -1141,7 +1141,7 @@ export class HealthCache {
|
|||
case1Start,
|
||||
case1StartRatio,
|
||||
zeroHealthAmount,
|
||||
minRatio,
|
||||
zeroHealthRatio.max(minRatio), // workaround, originally minRatio
|
||||
ONE_I80F48(),
|
||||
healthRatioAfterTradeTrunc,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue