Use sensible defaults for balance_dust_level

This commit is contained in:
Matthias
2021-02-28 09:03:27 +01:00
parent 0895407811
commit a13dc3cdde
5 changed files with 18 additions and 5 deletions

View File

@@ -54,6 +54,11 @@ DECIMALS_PER_COIN = {
'ETH': 5,
}
DUST_PER_COIN = {
'BTC': 0.0001,
'ETH': 0.01
}
# Soure files with destination directories within user-directory
USER_DATA_FILES = {
@@ -230,6 +235,7 @@ CONF_SCHEMA = {
'enabled': {'type': 'boolean'},
'token': {'type': 'string'},
'chat_id': {'type': 'string'},
'balance_dust_level': {'type': 'number', 'minimum': 0.0},
'notification_settings': {
'type': 'object',
'properties': {
@@ -244,7 +250,6 @@ CONF_SCHEMA = {
}
},
'required': ['enabled', 'token', 'chat_id'],
'balance_dust_level': 0.0001
},
'webhook': {
'type': 'object',