make name option required again

This commit is contained in:
hroff-1902 2019-04-08 11:19:45 +03:00
parent 4559a38172
commit cb2f422e1c

View File

@ -172,7 +172,7 @@ CONF_SCHEMA = {
'exchange': {
'type': 'object',
'properties': {
'name': {'type': 'string', 'default': 'bittrex'},
'name': {'type': 'string'},
'sandbox': {'type': 'boolean', 'default': False},
'key': {'type': 'string', 'default': ''},
'secret': {'type': 'string', 'default': ''},
@ -199,7 +199,7 @@ CONF_SCHEMA = {
'ccxt_config': {'type': 'object'},
'ccxt_async_config': {'type': 'object'}
},
'required': ['pair_whitelist']
'required': ['name', 'pair_whitelist']
},
'edge': {
'type': 'object',