main: updated clore max cap

This commit is contained in:
empresa 2026-02-06 21:12:32 +07:00
parent 53be680b27
commit c596936d75
1 changed files with 2 additions and 2 deletions

View File

@ -98,9 +98,9 @@ def validate_clore_config(clore_config):
required_keys = {"on_demand_bitcoin", "on_demand_clore", "spot_bitcoin", "spot_clore"}
if required_keys.issubset(clore_config):
return 0.000001 <= clore_config["on_demand_bitcoin"] <= 0.005 and \
0.1 <= clore_config["on_demand_clore"] <= 15000 and \
0.1 <= clore_config["on_demand_clore"] <= 75000 and \
0.000001 <= clore_config["spot_bitcoin"] <= 0.005 and \
0.1 <= clore_config["spot_clore"] <= 15000
0.1 <= clore_config["spot_clore"] <= 75000
return False
def is_valid_usd_pricing(autoprice):