Fix Paymend/Payment typo

This commit is contained in:
moneromooo 2015-01-10 20:35:10 +00:00
parent 114c67799d
commit 5a6c3bd379
2 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ def UpdateCoin(param):
tx_hash=p["tx_hash"]
amount=p["amount"]
try:
recipient = GetNickFromPaymendID(payment_id)
recipient = GetNickFromPaymentID(payment_id)
log_info('UpdateCoin: Found payment %s to %s for %s' % (tx_hash,recipient, AmountToString(amount)))
pipe.hincrby("balances",recipient,amount);
except Exception,e:

View File

@ -49,9 +49,9 @@ def GetPaymentID(nick):
log_error('GetPaymentID: failed to set payment ID for %s to redis: %s' % (nick,str(e)))
return p
def GetNickFromPaymendID(p):
def GetNickFromPaymentID(p):
nick = redis_hget("paymentid",p)
log_log('PaymendID %s => %s' % (p, str(nick)))
log_log('PaymentID %s => %s' % (p, str(nick)))
return nick
def AmountToString(amount):