'self._get_all_user_coins' -> 'self._get_user_coins', forgot to change this when

we moved back away from wallets (coins.py)
This commit is contained in:
jesopo 2019-01-24 11:27:57 +00:00
parent 8ba7cb0396
commit 5bfa0d2b50

View file

@ -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" %