Skip to content

Commit 3b48a15

Browse files
committed
fix: adjust deleverage optimal hf
1 parent 44fcd1f commit 3b48a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/liquidate/partial/AbstractPartialLiquidatorContract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ export abstract class AbstractPartialLiquidatorContract
325325
} else if (this.config.liquidationMode === "deleverage") {
326326
const minHealthFactor = BigInt(this.deleverage.bot.minHealthFactor);
327327
const maxHealthFactor = BigInt(this.deleverage.bot.maxHealthFactor);
328-
const optimalHF = maxHealthFactor - 5n;
328+
const optimalHF = maxHealthFactor - 100n;
329329
return optimalHF <= minHealthFactor
330330
? (minHealthFactor + maxHealthFactor) / 2n
331331
: optimalHF;

0 commit comments

Comments
 (0)