mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Make payment ID coin specific, for inter blockchain privacy
This commit is contained in:
parent
2212021091
commit
7cfc14faf6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue