withdraw: fix old variable use

nick is replaced by identity
This commit is contained in:
moneromooo 2015-03-17 20:54:25 +00:00
parent 56e9473f46
commit 98f102f497
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ def Withdraw(link,cmd):
amount = balance
if amount <= 0 or amount < local_min_withdraw_amount:
log_info("Withdraw: Minimum withdrawal balance: %s, %s cannot withdraw %s" % (AmountToString(config.min_withdraw_amount),nick,AmountToString(amount)))
log_info("Withdraw: Minimum withdrawal balance: %s, %s cannot withdraw %s" % (AmountToString(config.min_withdraw_amount),identity,AmountToString(amount)))
link.send("Minimum withdrawal balance: %s, cannot withdraw %s" % (AmountToString(config.min_withdraw_amount),AmountToString(amount)))
return
try: