We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44fcd1f commit 3b48a15Copy full SHA for 3b48a15
src/services/liquidate/partial/AbstractPartialLiquidatorContract.ts
@@ -325,7 +325,7 @@ export abstract class AbstractPartialLiquidatorContract
325
} else if (this.config.liquidationMode === "deleverage") {
326
const minHealthFactor = BigInt(this.deleverage.bot.minHealthFactor);
327
const maxHealthFactor = BigInt(this.deleverage.bot.maxHealthFactor);
328
- const optimalHF = maxHealthFactor - 5n;
+ const optimalHF = maxHealthFactor - 100n;
329
return optimalHF <= minHealthFactor
330
? (minHealthFactor + maxHealthFactor) / 2n
331
: optimalHF;
0 commit comments