Skip to content

Commit 10f1340

Browse files
committed
fix: safeguard min HF threshold for v310
1 parent 74c90e9 commit 10f1340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const ConfigSchema = PartialV300ConfigSchema.extend({
107107
* Filter out all accounts with HF >= threshold during scan stage
108108
* Min HF is set to crash older versions, which had 10000 as 100%
109109
*/
110-
hfThreshold: z.coerce.bigint().min(1100n).max(MAX_UINT256).default(WAD),
110+
hfThreshold: z.coerce.bigint().min(1_10_00n).max(MAX_UINT256).default(WAD),
111111
/**
112112
* Enable optimistic liquidations
113113
*/

0 commit comments

Comments
 (0)