add workaround to computing max perp trade

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-04-04 14:44:46 +02:00
parent cd3f6a684a
commit 3191a10622
1 changed files with 1 additions and 1 deletions

View File

@ -1141,7 +1141,7 @@ export class HealthCache {
case1Start,
case1StartRatio,
zeroHealthAmount,
minRatio,
zeroHealthRatio.max(minRatio), // workaround, originally minRatio
ONE_I80F48(),
healthRatioAfterTradeTrunc,
);