No need to "fix" stake_currency enum anymore
This commit is contained in:
		| @@ -48,11 +48,6 @@ def validate_config_schema(conf: Dict[str, Any]) -> Dict[str, Any]: | ||||
|         conf_schema['required'] = constants.SCHEMA_TRADE_REQUIRED | ||||
|     else: | ||||
|         conf_schema['required'] = constants.SCHEMA_MINIMAL_REQUIRED | ||||
|         # Dynamically allow empty stake-currency | ||||
|         # Since the minimal config specifies this too. | ||||
|         # It's not allowed for Dry-run or live modes | ||||
|         conf_schema['properties']['stake_currency']['enum'] += ['']  # type: ignore | ||||
|  | ||||
|     try: | ||||
|         FreqtradeValidator(conf_schema).validate(conf) | ||||
|         return conf | ||||
|   | ||||
		Reference in New Issue
	
	Block a user