update
This commit is contained in:
parent
da0f433eae
commit
aaad6d6230
@ -33,7 +33,7 @@ def get_sign():
|
|||||||
def ddsend_msg(msg):
|
def ddsend_msg(msg):
|
||||||
|
|
||||||
hash_msg = hmac.new(msg.encode('utf-8'), digestmod=hashlib.sha256).digest()
|
hash_msg = hmac.new(msg.encode('utf-8'), digestmod=hashlib.sha256).digest()
|
||||||
if hash_msg not in hash_msg:
|
if hash_msg not in msg_set:
|
||||||
msg_set.add(hash_msg)
|
msg_set.add(hash_msg)
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user