diff options
| author | 2019-01-24 11:27:57 +0000 | |
|---|---|---|
| committer | 2019-01-24 11:27:57 +0000 | |
| commit | 5bfa0d2b509cb306fda4ae1727fe622d568c2d8d (patch) | |
| tree | dbfa3a0556351d0b4b654dba9ca19af366940b94 | |
| parent | Move logging API key from INFO to DEBUG (rest_api.py) (diff) | |
| signature | ||
'self._get_all_user_coins' -> 'self._get_user_coins', forgot to change this when
we moved back away from wallets (coins.py)
| -rw-r--r-- | modules/coins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/coins.py b/modules/coins.py index 561c9f2a..b02c32fc 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -264,7 +264,7 @@ class Module(ModuleManager.BaseModule): user_coins = self._get_user_coins(event["user"]) redeem_amount = self._redeem_amount(event["server"]) - new_total_coins = self._get_all_user_coins(event["user"])-send_amount + new_total_coins = self._get_user_coins(event["user"])-send_amount if user_coins == DECIMAL_ZERO: raise utils.EventError("%s: You have no coins" % |
