'DEFAULT_WALLETS' -> 'WALLETS_DEFAULTS'

This commit is contained in:
jesopo 2018-10-21 12:10:44 +01:00
parent 42123442dc
commit e614eb8e75

View file

@ -147,7 +147,7 @@ class Module(ModuleManager.BaseModule):
"Please provide a valid positive coin amount") "Please provide a valid positive coin amount")
def _get_default_wallets(self, user): def _get_default_wallets(self, user):
return user.get_setting("default-wallets", DEFAULT_WALLETS) return user.get_setting("default-wallets", WALLET_DEFAULTS)
def _set_default_wallet(self, user, type, wallet): def _set_default_wallet(self, user, type, wallet):
default_wallets = self._get_default_wallets(user) default_wallets = self._get_default_wallets(user)
default_wallets[type.lower()] = wallet.lower() default_wallets[type.lower()] = wallet.lower()