From 1e29558c5e3f1d793afc0608fe06f2e27915925a Mon Sep 17 00:00:00 2001 From: moneromooo Date: Mon, 2 Feb 2015 20:43:17 +0000 Subject: [PATCH] withdraw: fix balances/account mismatch --- tipbot/modules/withdraw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tipbot/modules/withdraw.py b/tipbot/modules/withdraw.py index b4b5eba..e3bb0be 100644 --- a/tipbot/modules/withdraw.py +++ b/tipbot/modules/withdraw.py @@ -78,7 +78,7 @@ def Withdraw(link,cmd): account = GetAccount(identity) try: - balance = redis_hget('accounts',account) + balance = redis_hget('balances',account) if balance == None: balance = 0 balance=long(balance)