Make payment ID coin specific, for inter blockchain privacy
This commit is contained in:
parent
2212021091
commit
7cfc14faf6
|
@ -210,7 +210,7 @@ def PerformNextAction(nick,registered):
|
|||
del calltable[nick][0]
|
||||
|
||||
def GetPaymentID(nick):
|
||||
salt="2u3g55bkwrui32fi3g4bGR$j5g4ugnujb";
|
||||
salt="2u3g55bkwrui32fi3g4bGR$j5g4ugnujb-"+coin_name+"-";
|
||||
p = hashlib.sha256(salt+nick).hexdigest();
|
||||
try:
|
||||
redis.hset("paymentid",p,nick)
|
||||
|
|
Loading…
Reference in New Issue