mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
withdraw: fix balances/account mismatch
This commit is contained in:
parent
b876f1e523
commit
1e29558c5e
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ def Withdraw(link,cmd):
|
||||||
|
|
||||||
account = GetAccount(identity)
|
account = GetAccount(identity)
|
||||||
try:
|
try:
|
||||||
balance = redis_hget('accounts',account)
|
balance = redis_hget('balances',account)
|
||||||
if balance == None:
|
if balance == None:
|
||||||
balance = 0
|
balance = 0
|
||||||
balance=long(balance)
|
balance=long(balance)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue